STEP 5: All of our bricks are complete. Now we need to create our paddle and our ball!

  • In GRAPHICS from add a Rectangle below the nested loops. It SHOULD NOT be indented!
  • Name the rectangle paddle. Change the rectangle arguments to (175, -235, 80, 15, "red").
  • Add a Circle to the bottom of the program and name it ball.
  • Change ball's arguments to (0, 0, 15, "purple").

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)