How move character on z-axis?

If you don’t want to use the movement component you can do it like this:

You could also use the move component to node if you want to control the smoothness of the motion.