STEP 7: Our sprite is going to draw shapes, so let's set up its path along the first edge.

Our first shape is a square. We'll use coordinates to be sure we're making 90 degree angles and congruent sides.

  • Change the first number, the x-value, in your .glide_to() command from -100 to 200.

Pixels are the unit of measurement on the stage. Each line on the grid counts up by 50 pixels.

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)