WARNING: Our program has a bug which means we need to fix it! Logic error!

RULE: The .set_speed() command affects ONLY actions that come after it.

  • Click Run and watch the stage to see the error. Does your sprite go the same speed as your see-thru sprite?
  • Debug the program so that the solid sprite moves at the same pace as the see-thru sprite.
  • Click Run to test if you fixed your program. When it is fixed, click Submit and Next .


stage.set_background("soccerfieldhalf") sprite = codesters.Sprite("person1") sprite.move_right(150) sprite.move_left(200) sprite.set_speed(1)