How to make my character fly on x and y axis?

My character is a dragon, and I am trying it to move up and down and right and left. I want it to look similar to like Cyber Ortek, but don’t know how to.

Hey, those games most likely only move the objects and the background and leave the main thing kinda static on the screen.
So you only need to do moving up and down.

You can just do that by setting the ActorLocation.

You would want to set up inputs and just add to the up location. Unreal uses Z- as up location, so you probably want to set it up this way.

You could probably check out the flappy bird clone unreal has done. You probably can still find that one in the learning tab of the launcher.