STEP 7: Let's use a loop to give one set of commands that will set up all five ufos, just like we did with the astronauts.

  • Go to and drag Loop with Range to the bottom of your program.
  • Go to and drag Sprite at Position inside the loop. It should have a ··· in front of it.
  • Change the name of the sprite to ufo.

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)