How to set the camera to just move upwards?

Hey guys,
Iam working on a little 2D game. The problem: I already set my cam to just move on the x axis but i don’t want it to come back down once the camera moved upwards.
Ty for your support!

Youve connected the X value, not the Z value.
Also you need to add the value, not subtract it.

Sorry I ment the x axis. The moving upwards works fine. But I wanted the camera to not come down again once it had moved up. Can you help me with this issue? ( Sorry for the bad english btw)

Thank your very much! That was it!

You can get the current location of the camera and compare it to the location when it moves, and if the result is <= you can stop the movement.

I’ve set up an Example.Its another way to do it. If you use Add Actor Location, you should take into account, that it adds it position, so you would just need to add a Vector with the X value you want to add per second or so.

You’re welcome,
and don’t forget to set the Question as resolved for others to know, that theres a Solution :wink: