STEP 9: Let's have our sprite wait 2 seconds and then do the next move.

  • From , drag Wait into your program.
  • From , drag Move Up into your program. Drop it below the .wait() command.

The Wait command causes the sprite to pause for the given number of seconds before moving up.

stage.set_background("footballfield2") sprite = codesters.Sprite("cheerleader1") sprite.move_down(150) sprite.flip_up_down() sprite.move_right(200) sprite.move_left(150) sprite.flip_up_down()