STEP 11: When the dino hits a meteor, we want the dino to do a flip and return to center stage.

  • Go to and drag Collision into your program.
  • Change the name in front of the event handler to dino.

In a collision event, there are 2 sprites: (sprite , hit_sprite). Inside this event, dino answers to 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)