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.

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(4) stage.wait(2) sprite.move_right(2)
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)