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

Now we'll make our sprite flip back and forth over and over again.

  • Go to . Drag out another Flip Right Left command.
  • Add another Wait command.
  • Change the number in .wait() to 1.

stage.set_background("subway") sprite = codesters.Sprite("person10") sprite.move_down(75) sprite.flip_up_down() sprite.move_right(200) sprite.move_left(150) sprite.flip_up_down() stage.wait(2) sprite.move_up(50) sprite.turn_left(360) sprite.move_down(50) stage.wait(2) sprite.flip_right_left() stage.wait(1)
Support