Mastering Scratch Pen Blocks Tutorial: Draw Shapes in Scratch with Code

Make Cool Shapes with Scratch Pen Blocks – Step-by-Step Guide

Introduction: Scratch Pen Blocks Tutorial

Welcome to Kodex Academy’s deep dive into Scratch 3.0 drawing tutorial! In this post, we’ll explore how to use pen blocks in Scratch, demonstrate hands-on Scratch geometry project workshops, and empower you to draw shapes in Scratch using clean, loop-based code.

Along the way, we’ll optimize for search terms like Scratch pen block shapes, Scratch draw square and circle, Make shapes in Scratch using code, Shape maker in Scratch, and many more—all while delivering high educational value.

What You’ll Learn

Here’s what we’ll cover in detail:

  1. Enabling Pen Blocks in Scratch 3.0
  2. Choosing & customizing sprites
  3. Clearing the canvas
  4. Drawing basic shapes: square, circle, pentagon, hexagon, rectangle
  5. Creating reusable shape functions
  6. Comparing code styles: explicit loops vs. abstraction
  7. Advanced drawing techniques: spirographs, interactive color sliders, stitch effects
  8. Educational value & teaching strategy

Why for Beginners

1. Visual Feedback Builds Confidence

Scratch’s block interface removes syntax barriers. When learners drag a “move” or “pen down” block, they immediately see the result on-screen. Drawing a square by combining motion and loops helps kids understand geometry through doing, not just through formulas.

2. Core Programming Concepts

Working with pen blocks introduces essential ideas:

  • Variables (e.g. pen size, shape sides)
  • Loops (e.g. repeat 4 times for a square)
  • Angles and Rotation (turning 90°, 60°, etc.)
  • Functions & Abstraction (custom shape blocks)

These mirror real coding skills in JavaScript, Python, and more, making Scratch a gateway to future learning.

3. Low Threshold, High Ceiling

A six-year-old can draw a square, while high schoolers can generate spirographs or interactive tools. The same pen tool scales from simple to sophisticated.

4. Math Enrichment

Drawing shapes helps learners understand perimeter, interior and exterior angles, circle approximation (360° ÷ segments), and relationships between sides and angles.

👉 Watch the full video tutorial here: “Make Cool Shapes with Scratch Pen Blocks – Step-by-Step Guide” by Kodex Academy

Project Coding – Step by Step guide

Step 1: Enable Pen Blocks

  1. Open Scratch 3.0 editor.
  2. Click Extensions at the bottom-left.
  3. Choose Pen from the gallery.
  4. The Pen palette appears, featuring blocks like pen down, erase all, set pen color.

This gives easy access to Scratch pen blocks tutorial and the foundation for Draw shapes in Scratch projects.

📺 Want to see how it’s done? – Jump to Add the Pen Extension in Scratch in the video

Step 2: Choose & Customize a Sprite

  • Remove the default cat sprite by right-clicking and deleting.
  • Add a sprite like “Pencil” or “Arrow” through the sprite library.
  • Resize it to around 80 for balanced visibility.

Why this matters: the sprite visually indicates direction (“forward”), so when your code says “move,” the sprite’s head shows where lines will be drawn.

📺 Want to see how it’s done? – Jump to Choose & Customize a Sprite in the video

Step 3: Clear the Canvas

Before you draw each new shape, reset the stage using:

This ensures clean output for every run and avoids confusing overlapping drawings. It’s best practice for Use pen block in Scratch 3.0 projects.

Shape Tutorials

📺 Want to see how it’s done? – Jump to Shape Tutorials in the video

1. ⬛ Square Drawing

Explained:

  • Repeat 4: four sides of the square
  • Move 100: length of each side
  • Turn 90°: right angle

Result: pressing the Space key draws a clean square. This forms the basis of your Scratch draw square and circle repertoire.

📺 Want to see how it’s done? – Jump to Draw a Square in Scratch in the video

2. 🔵 Circle Approximation

Explanation:

  • Repeat 36: number of line segments
  • Turn 10°: this approximates a full circle (360° ÷ 36)
  • Move 15: controls the radius

This simple method allows kids to Draw shapes in Scratch that look curved—and it’s a great way to discuss how polygons approximate circles.

📺 Want to see how it’s done? – Jump to Draw a Circle in Scratch in the video

3. Pentagon Drawing

Explanation:

  • Repeat 5: five sides
  • Turn 72°: 360° ÷ 5

This program is a key example of Pentagon drawing in Scratch and reinforces angle calculations.

📺 Want to see how it’s done? – Jump to Draw a Pentagon in Scratch in the video

4. 🔷 Hexagon Drawing

Explanation:

  • Repeat 6: six sides
  • Turn 60°: 360° ÷ 6

Your hexagon emerges easily—ideal for Scratch pen block shapes practice and modular code learning.

📺 Want to see how it’s done? – Jump to Draw a Hexagon in Scratch in the video

5. ▭ Rectangle Drawing

Explanation:

  • Repeat 2: covers all four sides in two repeating patterns
  • Move 150 and Move 100: differentiate side lengths
  • Turn 90°: ensures right angles

This snippet teaches Draw rectangle in Scratch using loops effectively.

📺 Want to see how it’s done? – Jump to Draw a Rectangle in Scratch in the video

Reusable Shape Maker Block

Custom Shape Maker

Synthesizing these examples, we can create a versatile tool—a custom block for any polygon:

Usage Example

This makes Make shapes in Scratch using code simple and scalable. Once students grasp this, they can build stars, tessellations, and even fractals.

Code Styles Compared

ApproachProsCons
Explicit shape scriptGreat for concept learning & clarityRepetitive & repetitive code as shapes expand
Custom shape maker blockClean, scalable, reuses codeSlightly more abstraction needed initially

By comparing the two, learners understand why structured code matters—leading to better computational thinking skills.

Advanced Drawing Techniques

1. Spirograph Patterns

Create a spirograph by nesting your shape code in a loop and rotating slightly each time:

This results in beautifully layered hexagons—an example of Scratch draw geometric shapes artistry.

2. Interactive Sliders with Pen

Introduce user input with the “ask” block and pen controls:

Now you’re building a custom Shape maker in Scratch that adapts to user input—ideal for classroom exploration.

3. Freehand Painting App

Let users draw by dragging the mouse! This uses event logic and conditional pen control:

This tool introduces students to event loops and interactivity—vital coding skills beyond geometry.

Lesson Planning & Educational Tips

  1. Pair coding + drawing: Begin with square building, then gradually introduce angles and formulas.
  2. Relate shapes to everyday items: Squares = windows, hexagons = honeycomb—this aids retention.
  3. Encourage experimentation: What happens when moving 200 px instead of 100? What changes with 8 sides?
  4. Use color and thickness: set pen color to and set pen size to blocks deepen the aesthetic learning.
  5. Project-based assessments: Have students create a logo using polygons—showcase stage-ready creations.
  6. Tie to math objectives: Cover angle sums, circle segments, and ratio through code—seamlessly integrate coding and geometry lessons.

Final Thoughts

With just a handful of blocks, you can unveil the magical world of Scratch geometry projects:

  • Draw squares, circles, pentagons, hexagons, rectangles—all with ease
  • Understand and apply mathematical reasoning
  • Learn loop structures, user input, event handling, and color design
  • Expand into interactive and creative coding adventures

This guide has covered everything from Scratch pen blocks tutorial to Scratch draw geometric shapes, and beyond. If you’re inspired to take your coding further, consider:

  • ⭐ Creating a painting game using sprites and pen
  • ⭐ Building interactive spirograph art stations
  • ⭐ Developing tutorial videos to teach others

Call to Action

  1. Remember to revisit the video tutorial: “Make Cool Shapes with Scratch Pen Blocks – Step-by-Step Guide” by Kodex Academy, and leave comments there with ideas or requests for your next Scratch drawing shapes project.
  2. Like, comment & share the video
  3. Visit kodexacademy.com
  4. subscribe to the Kodex Academy YouTube channel for deeper Scratch content.

Happy coding and drawing with Kodex Academy! see you in your next creative adventure! 🚀

Learn More with Kodex Academy

At Kodex Academy, we’re passionate about helping students learn coding in creative ways. This project teaches more than Scratch—it empowers young minds to build tools that work in the real world.

Explore more:

Stay updated with new content, free tutorials, and coding challenges!

Further Reading & Links

Recent Posts

How to Make a Math Racing Game in Scratch | Game Concepts and Complete Tutorial

In this tutorial, you’ll learn to build a Math Racing Game in Scratch. Players solve math problems to move their character forward; wrong answers benefit the opponent. It’s a race of speed, accuracy...

How to make Memory Skill Game in Scratch | Card Matching Game in Scratch – Part 2 | Step-by-Step Coding

In this tutorial you'll learn how to make memory skill game in Scratch / card matching game in Scratch. This is a great beginner‑to‑intermediate project for scratch tutorial game, scratch programming...

How to make a Card Matching Game in Scratch | Memory Skill Game in Scratch – Part 1 | Step-by-Step Coding

In this Scratch tutorial, we'll walk you through how to make a card matching game in Scratch, also known as a memory game or skill game. This is a popular beginner project that introduces essential...

Create a Quiz Game in Scratch | Spelling Test in Scratch | Picture Identification in Scratch

Want to make learning spelling fun, visual, and interactive? In this Scratch tutorial, you'll learn how to make a spelling quiz game in Scratch using picture identification, text-to-speech, and...

How to make a Double Jump Game in Scratch | Platformer game in Scratch | Step by Step Coding

How to make a Double Jump Game in Scratch. Scratch is a fantastic platform for beginners to learn programming by making games, animations, and interactive stories. Among the many kinds of games...

How to Use Variables in Scratch | Variable Blocks in Scratch | Complete Tutorial

Introduction: Variable Blocks in Scratch Whether you’re just getting started with Scratch programming or looking to take your projects to the next level, understanding variables and lists is...

How to Make Earth Revolve Around the Sun in Scratch: A Complete Tutorial & Enhancements

Animating Earth revolving around the Sun is a classic beginner/intermediate Scratch animation project. It combines trigonometry (sine & cosine), variables, loops, and visual scripting. Kids can learn...

How to Make a Game in Scratch | Snake Game in Scratch | Step-by-Step Game Coding

In this tutorial, we’ll build a Snake Grid style game in Scratch step by step (very similar to the Kodex Academy example). By doing this, you’ll cover many of the core Scratch building blocks. We will...

How to Use Operator Blocks in Scratch | Full Guide with Live Coding & Examples

One of the most powerful features in Scratch is its Operator Blocks — essential for handling math operations, logic comparisons, and string manipulations...

How to Create a Thirsty Crow Story in Scratch | Animation Story in Scratch for Kids

In this tutorial, you’ll learn how to create the classic “Thirsty Crow” story in Scratch, using simple animation, voice, and sprite actions. This is a perfect project for kids who are new to coding...

How to Create a Dodge Ball Game in Scratch: A Complete Step-by-Step Tutorial for Beginners

This step-by-step tutorial will guide you through how to create a Dodge Ball game in Scratch from scratch! In this game, you’ll control a character trying to dodge falling balls, earn points, and...

How to use Sensing Blocks in Scratch | Scratch programming for beginners | Live Coding with Examples

In today’s session, we’re diving deep into one of the most powerful features of Scratch — Sensing Blocks. These blocks allow your projects to interact with the world, detect touches, respond to...

Build an Egg Shooting Game in Scratch: Step-by-Step Coding | Complete Guide for Beginners

Learn how to create a fun, interactive shooting game in Scratch with this detailed tutorial inspired by classic arcade games. Perfect for kids and beginners looking to dive into Scratch programming!...

How to Make a Maze Game in Scratch | Step by Step Coding | Full Tutorial & Enhancements

Introduction: Why Build a Maze Game in Scratch? If you’re looking for a Scratch beginner project idea that’s fun, interactive, and educational, then building a maze game in Scratch is the...

Scratch Control Block Tutorial: Full Guide with Loops, Conditions, Cloning & Code Examples

“Control blocks” in Scratch are those blocks (from the Control category) that manage the flow of your script: when things happen, how many times they happen, making decisions, repeating actions...

How to Create a Car Racing Game in Scratch – Part 2 – Step-by-Step Coding

Welcome to your ultimate guide on how to make a car racing game in Scratch—a step‑by‑step tutorial. You'll learn Scratch game development techniques, see actual code blocks, and discover enhancements...

How to Make a Hurdle Jumping Game in Scratch – Build a Fun Hurdle Runner with Score & Win Screen

Are you ready to create your very own hurdle jumping game in Scratch—just like the iconic Chrome Dino or Super Mario? 🎮 Whether you're new to Scratch or just looking for your next fun project, this...

How to Create a Car Racing Game in Scratch – Part 1 – Step-by-Step Coding

In this Scratch car racing game tutorial, we’ll walk you through how to create a fully functional, visually exciting, and incredibly fun car racing game using Scratch. In this blog, we’ll cover: How...
Scroll to Top