Activity: Move Farther

STEP 6: Let's have our fox move farther down until it is on the ground.

Pixels are the unit of measurement on the stage.

  • Let’s make the sprite move down 150 pixels.
  • In the .move_down(50), command change the number from 50 to 150. Do not put quotes around the number.
  • Click Run to see the fox move down farther. Then click Submit and Next to move on.

stage.set_background("winter") sprite = codesters.Sprite("fox") sprite.move_down(50)