Activity: Modify Commands
I'M FINISHED WITH HOUR OF CODE!
img

STEP 8: The numbers in these commands control how the command runs, like how long to wait, or how far to go.

  • Change the number in .wait() to 1.
  • Change the number in the .move_right() command to 400.

First, we change the number of the seconds that the stage stops and waits.

Second, we move the sprite 400 pixels to the right.

stage.set_background("park") sprite = codesters.Sprite("person3") sprite.glide_to(-100, 50) # text = codesters.Text("text", x, y, "color") text = codesters.Text("I went to the park!", 0, -200, "blue") stage.wait(2) sprite.move_right(50)
Support