STEP 15: Let's change the color of the sprite's pen.

  • Go to and drag out Set Color.
  • Change the pen color to "yellow" or choose another color that you like. You can find a list of color names here.

Hint: Make sure you don't delete the quotes around the color!

To navigate the page using the TAB key, first press ESC to exit the code editor.

stage.set_background("field") sprite = codesters.Sprite("hedgehog") sprite.set_size(.5) sprite.pen_down()
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)