STEP 12: Let's add a .wait() command after the alien speaks so the stage pauses and the astronaut doesn't interrupt the alien.

In the stage.wait(2) command, the entire stage waits for 2 seconds.

  • In , drag out Wait. Drop it at the bottom of your program.

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)