Activity: Headstand

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.

stage.set_background("concert") sprite = codesters.Sprite("person1") sprite.move_down(100)