Let's move the sprite to the left side of the screen.

  • Go to and drag out Go To. Drop it at the bottom of your program.

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

  • Change the first number (the x-coordinate) in .go_to() to -200.

To navigate the page using the TAB key, first press ESC to exit the code editor.

stage.set_background("city") sprite = codesters.Sprite("bike") sprite.set_size(0.5)
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)