STEP 3: Let's move the sprite to the left side of the screen. We'll use the coordinates to control its location!

The numbers in the command we'll use are coordinates. The first number is the x-coordinate. It controls where the sprite is from left to right.

  • Click on and drag out Go To. Drop it at the bottom of your program.
  • Change the first number (the x-coordinate) in .go_to() to -125.

stage.set_background("moon") sprite = codesters.Sprite("astronaut1")