STEP 6: Now we can use the value that we got with the index as our sprite image.

  • Go to and drag Sprite at Position into your program.
  • Name the sprite head.
  • Change the image to head_image.
  • Position it at (0, 83).

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

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)