Level 4

Draw with Pen

Level 4 · Chapter 10

What this lesson follows

CSTA K–12 Computer Science Standards (2017)

Algorithms & Programming · Grades 6–8

Break a problem into parts you can build and check.

Code 2-AP-13Read the official text

Common Core State Standards for Mathematics

Geometry · Grade 5

Sort flat shapes by their properties.

Code 5.G.B.3Read the official text

The short lines are our own words. We matched this lesson to these standards ourselves; the standards' owners have not reviewed or endorsed this course.

Common Core State Standards © 2010 National Governors Association Center for Best Practices and Council of Chief State School Officers. All rights reserved.

Today you will use the Pen extension to draw lines and shapes on the stage.

1👋 Warm-Up

For teachers · goals · guide
Lesson Outcomes · for teachersCSTA 2
✦ CSTA 2-AP-13 · ISTE 1.4.d · Standards
🎯 I canuse the Pen extension to draw lines and shapes on the stage
🧩 New blocks5 blocks
📝 New words5 words
⏱ Lesson time~35 min
Teacher Guide

📋 Before class

⚠️ Common misconceptions

  • Students forget to activate the Pen extension — the blocks will not appear until they add it.
  • Students put pen down outside the loop and wonder why it draws a straight line instead of a shape.
  • Students confuse 'erase all' (erase drawings) with 'hide' (hide the sprite). The 'erase all' block only removes pen lines.

🎯 Differentiation

🐢 Struggling: Start with only the square. Provide the formula: turn angle = 360 ÷ number of sides.

🚀 Advanced: Challenge students to draw a spiral by increasing the move distance by 5 each loop iteration.

💡 During the lesson

  • Warm-UpIMPORTANT — Before class, open Scratch and add the Pen extension so students can see the process. Steps: click the blue puzzle piece icon at the bottom-left of the block palette → choose Pen → the green Pen blocks appear. Students who skip this step will have no pen blocks to use.
  • Try ItWrite the formula 360 ÷ sides on the board. Have students calculate the turn angle for a triangle (120°) and a pentagon (72°) before looking at the build steps. Square = 90°, hexagon = 60°, circle (36 sides) = 10°.
    The second experiment shows that set pen size to makes the line thick from the start. The first experiment reinforces why every drawing script ends with pen up — without it, the next motion block draws an unwanted line.
  • PlanEach shape is a separate decomposed step. Ask students: "Why do we put pen up between shapes?" (So the move to a new position does not draw a connecting line.)
  • BuildStudents who see no drawing at all have likely forgotten to add the Pen extension (step 1), or they have no pen down block. Check both before investigating further.