STEP 6: When using loops, sometimes the computer completes actions so fast that we don't see the changes!

Use the Wait command in a loop to slow down the repetitions and to see changes on the stage more easily.

  • In the GRAPHICS tab, go to and drag Wait inside the loop. Make sure it is indented!
  • Change the amount of time in .wait() from 2 to 0.5.
  • Click Run and look to see the variable display update for each new legs sprite!

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)