Vamos a hacer algunos cambios a la figura car adentro del if statement. Todos estos comandos tendrán ········.

  • Utiliza Turn Right para rotar el car 90 grados.
  • Set Size de car a 0.5.
  • Set x Speed de car a 2.

Cuando se llama la función, los carros se ubicarán correctamente y se moverán de izquierda a derecha.

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)