STEP 12: These robots are in need of their central processing units - their heads!

  • Go to and drag out Loop with Range. Make sure this is not indented!
  • In GRAPHICS, go to and drag out Sprite at Position so that it's indented inside the loop.
  • Change the image label of the new sprite from "codester" to "head2".
  • Change the sprite's x-coordinate from 0 to head_x and the y-coordinate from 0 to 7.

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)