Activity: Place Player
I'M FINISHED WITH HOUR OF CODE!

STEP 4: 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 -175 and change the second number to -150.

You can change the code after you drag it in by typing directly into the editor. The first number moves the sprite -175 pixels to the left. The second number moves the sprite 150 pixels down.

stage.set_background("halfcourt") sprite = codesters.Sprite("player1")
Support