Before we get started making our very first program, let's look at an example.

  • Click Run to see an example of the kind of animation you'll be programming today!
  • Watch the animation, then click on the fox once it stops moving!
  • Click the Ticket to answer the Do Now question.
  • Click Submit and Next to continue.

stage.set_background("winter") sprite = codesters.Sprite("fox") sprite.set_speed(2) sprite.move_down(150) stage.wait(1) sprite.move_right(50) sprite.say("Click on me!") def click(): sprite.say("Hey there Codester!") sprite.move_up(100) sprite.turn_right(360) sprite.move_down(100) sprite.say("Great job.") sprite.wait(2) sprite.say("Click the Ticket!") sprite.event_click(click)