STEP 8: Let's add a special greeting to our program, so that when you click on the sprite, it says "hello."

  • Click on in the toolkit.
  • Drag out Sprite Click and drop it at the bottom of your program.
  • Run your program and wait until the sprite stops moving. Then click on the sprite.

stage.set_background("winter") sprite = codesters.Sprite("fox") sprite.move_down(4) stage.wait(2) sprite.move_right(2)