STEP 8: Now let's draw the second side of our square! The first side is 150 pixels. This side will be the same length!

The Fill On tool will color in our shape when we start to draw a closed figure.

  • Click on . Drag out Fill On.
  • Then drag out a Glide To command.
  • In .glide_to() change the the x-coordinate from -100 to 200. Change the y-coordinate from 50 to 200.

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)