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

STEP 7: Each command plays on the stage very quickly! We can use wait commands to space out the action.

Wait commands pause the program so the user has time to read the text or see the action before it changes.

  • Go to . Drag Wait into the bottom of your program.
  • Drag Move Right into your program, after the .wait() command.
  • Click Run and watch your program run!


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