STEP 8: Now that the ball is being shot, let's tell the user when they miss.

  • In GRAPHICS, go to and drag in Set Text INSIDE your if statement.
  • Change the name in front of .set_text() from sprite to text.
  • Change the value inside from "Hello Codesters!" to "You missed!".

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)