Activity: Keep Dancing
img

STEP 10: Let's make another dance move.

  • Go to and drag out Flip Right Left . Drop it at the bottom of your program.
  • In drag out Wait. Drop it at the bottom of your program.
  • Change the integer in the .wait() command to 1.

We need to pause the stage before flipping back or the flip will happen too fast.

stage.set_background("concert") sprite = codesters.Sprite("person1") sprite.move_down(100) sprite.set_speed(3) sprite.flip_up_down() sprite.move_right(150) sprite.move_left(200) sprite.flip_up_down() sprite.turn_left(360)
Support