PASO 6: ¡Hagamos que algo suceda cuando nuestra figura alcance el objeto al cual se dirigía!
Clic en . Arrastra Collision en la parte inferior de tu programa.
Clic Correr y observa lo que sucede cuando tu figura colisiona con el sombrero.
Eventos son una clase especial de código que corre solamente si algo pasa para provocar el evento. A veces causamos eventos con el teclado o con el mouse. Aquí, el evento correrá cuando la figura choca con otra figura.
To navigate the page using the TAB key, first press ESC to exit the code editor.
Are you already running a Codesters project in another tab or window?
Micro:bit can only connect to one web page at a time.
Try stopping other Codesters projects or closing
other tabs or windows that may be using your Micro:bit.
If that doesn't fix the problem try disconnecting your Micro:bit,
reloading this page, and reconnecting your Micro:bit.