STEP 8: Let’s add something special to our program to make the sprite say "Hello" to you when you click on it.

  • 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(150) stage.wait(2) sprite.move_right(50)