Getting a Cube Actor to go back and forth

So I’m kinda new to all this and had a look at some of the tutorials on the website(https://docs.unrealengine.com/en-US/…als/index.html) and wanted to make a cube actor that goes back on forth on the X axis. I played around with it a bit and managed to get it to move on the axis, but, it just keeps on going, and wont come back and forth just, straight. I’m honestly stuck and would like some help. Thanks in advance :slight_smile: