STEP 4: Let's use a flip command to make the sprite stand on its head!

  • From drag out a Flip Up Down command. Drop it at the bottom of your program.

Notice that the .flip_up_down() command does not take any arguments. It runs once each time it is used.

An argument is information that the command needs in order to run.

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

stage.set_background("concert") sprite = codesters.Sprite("person1") sprite.move_down(100)
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)