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.

To navigate the page using the TAB key, first press ESC to exit the code editor.

stage.set_background("winter") sprite = codesters.Sprite("fox") sprite.move_down(150) stage.wait(2) sprite.move_right(50)
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)