STEP 1: Let's build robots on the moon! We'll need a variable first before we start.

  • In the GRAPHICS tab, go to and drag out Moon.
  • In the LOGIC tab, go to and drag out Integer Variable.
  • Change the name of the variable from my_var to legs_x. This will be the x-coordinate of each set of legs!
  • Click Run and then Submit before clicking Next to move on!

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)