STEP 11: Now let's make our sprite flip from side to side.

  • Go to and drag out Flip Right Left.
  • From , drag out Wait.
  • Change the number in .wait() to 1.

The number in the Wait command controls how long the stage pauses.

To navigate the page using the TAB key, first press ESC to exit the code editor.

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() stage.wait(2) sprite.move_up(50) sprite.turn_left(360) sprite.move_down(50) stage.wait(2)
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)