We can put our sprite wherever we want. The stage is a coordinate plane with (0, 0) in the center.

  • Go to the section of the toolkit and drag Go To into your program.
  • Change the first number in the .go_to() command to 215 and change the second number to -175.

You can change the code after you drag it in by typing directly into the editor.

The first number moves the sprite 215 pixels to the right. The second number moves the sprite 175 pixels down.

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

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