STEP 1: Let's begin by setting up our game environment.

  • Go to in the toolkit to your left and drag the Moon block into your program.
  • Go to and in the toolkit to your left drag Sprite at Position into your program.
  • Change the information in .sprite() from ("codester", 0, 0) to ("hedgehog", 0, -210).
  • Run your code, then click Submit and Next to move on to the next activity.

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

  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)