STEP 15: Every time the alien catches a meteor, the player scores 1 point!

  • Go to and drag Add Value inside the collision event.
  • Change the variable to score.
  • Go to and drag Update Display inside the collision event.
  • Change the name of the display to score_board and the variable to score.

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)