STEP 5: The sprite can draw the lines of the star by moving forward with the pen down.

  • Go to and drag out Move Forward.
  • Change the integer 50 in .move_forward() to the integer variable move. Don't put the variable in quotes!

The variable move is storing the integer value 200, so your sprite will move forward 200 pixels.

Notice that the sprite draws a line as it moves because of the .pen_down() command!

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)