Let's create a display so we can see the value of the variable.

  • Go to and drag out Variable Display.
  • The display's name is the word before the equals sign. Change the display's name to score_board.
  • Change the variable name inside of .Display() to score.

To navigate the page using the TAB key, first press ESC to exit the code editor.

stage.set_background("underwater") score = 0
  • Run Code
  • Enviar Trabajo
  • Actividad Siguiente
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)