WARNING: This program has a logic error! A logic error means the code runs, but it does not do what we intended.

RULE: The .set_speed() 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)