PASO 12: Agreguemos un comando .wait() después de que el alienígena hable para que el escenario se detenga y el astronauta no interrumpa al alienígena.

En el comando stage .wait( 2 ) , todo el escenario espera 2 segundos.

  • En , arrastre Wait . Suéltelo en la parte inferior de su programa.

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
  • Enviar Trabajo
  • Actividad Siguiente
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)