Change X by
This block moves the object left or right. The bigger the number, the farther right on the screen the object will go. Want to move your object to the left? Use a negative number.
For an example, search the community for Taco Fighter 2, it uses this block inside a Repeat block to make the octopus go back and forth across the screen.