Now we need to make pipes on the top that match the pipes on the bottom.

  • Go to and drag another Rectangle into the interval event.
  • Change the rectangle's name to top_pipe.
  • Go to and drag in Set x Speed and Sprite Gravity Off.
  • Change the names in front of both actions to top_pipe and change the speeds to -5.

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)