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

What next?

  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!

Recent Posts

Ultimate Scrolling Background & Character Animation | Step-by-Step Scratch Tutorial

we’ll walk you through one of the most exciting concepts in 2D game development: the scrolling background and character animation effect. This type of animation makes your game environment feel alive...

Scratch Virtual Piano Tutorial: Build Your Own Piano in Scratch (Music Extension)

Learn step-by-step how to build a colorful, interactive virtual piano using Scratch and the Music Extension. By the end of this post, you’ll know how to build a virtual piano Scratch project, create...

Build a Text-to-Speech Translator in Scratch (Supports 45+ Languages!) – Ultimate Guide

Have you ever wanted to build your own multilingual translator that can speak in different languages? With Scratch, you can! In this exciting project, we’ll guide you through building a Text-to-Speech...

Date and Time Virtual Assistance using Text-to-Speech: Create an Alexa-Like Smart Assistant Using Scratch

Do you want to build your own digital assistant in Scratch that can respond to voice commands and share the current date and time? In this comprehensive Scratch virtual assistant tutorial, you’ll...

Mastering Scratch Motion Blocks: A Complete Tutorial for Beginners and Game Developers

One of the most powerful and foundational aspects of Scratch programming is motion blocks—used for controlling sprite movements and building dynamic, interactive projects. Motion blocks are...

Build an Interactive Odd & Even Quiz Game in Scratch: A Step-by-Step Tutorial

In this Scratch quiz game tutorial, we'll build an engaging Odd & Even numbers quiz—a classic math quiz game in Scratch that’s perfect for beginners and educators alike. You’ll guide your players...

Create Amazing Sprite Looks with Looks Blocks: A Complete Guide to Visual Sprite Effects

The “Looks” blocks in Scratch are the secret sauce behind smooth costume changes, exciting visual effects, and immersive game environments. Whether you're just starting your Scratch coding projects or...

Build Your Own Scratch Painting App: A Fun Scratch Coding Tutorial for Kids

In this tutorial, we’ll walk you through creating a painting app in Scratch—a project that combines creativity, problem-solving, and interactive design. Using Scratch’s pen extension, you’ll build an...

Build a Fun “Bouncing Ball” Pong‑Style Game in Scratch – Step-by-Step Guide

Build a Fun "Bouncing Ball" Pong‑Style Game in Scratch - Step-by-Step Guide. This bouncing‑ball game combines fundamental elements: Motion & coordinate control, Sensing sprite overlaps, Variables for...

How to Make a Snowman Chase Snowflakes – Step by step Scratch Game Tutorial

Welcome to this interactive Scratch coding tutorial! If you’ve ever wanted to learn Scratch coding, build fun Scratch projects, and develop a Scratch game idea, there’s no better place to start than a...

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

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...

How to Make a Star Trail Animation in Scratch – Easy Scratch Project Tutorial

In this detailed Scratch tutorial, you'll discover how to combine block programming logic, Scratch coding techniques, and creative flair to create animations in Scratch. By the end, you'll have a...

Build a Simple Calculator in Scratch – Step‑by‑Step Guide!

In this Scratch calculator tutorial, we take you from watching a quick demo to building a functional calculator in Scratch—complete with user prompts, number input, and basic arithmetic operations...

Even or Odd Number Finder – Scratch Game by Kodex Academy

The concept is simple but powerful. The game randomly shows numbers on the screen, and the player must decide whether the number is even or odd. They click the correct button (Even or Odd), and the...

Learn to Code with Eat Yummy Taco – A Fun Scratch Game for Kids

Get ready to dive into a deliciously engaging game that will tickle your taste buds and test your reflexes — all while learning how to code! “Eat Yummy Taco” is a beginner-friendly and fun Scratch...

How to Build an Interactive Hide and Seek Game in Scratch 3.0: A Beginner’s Guide by Kodex Academy

Every good game begins with a scene. In Scratch, this means choosing a backdrop and designing the space where the game happens. This section guides you through selecting or creating a background that...

My Blocks in Scratch Explained | A Complete Guide to Custom Blocks for Beginners (Scratch 3.0)

The My Blocks palette in Scratch is essentially your personal toolset. While the other palettes give you predefined blocks (like motion, looks, or sound), My Blocks allows you to create your own...

Understanding Block Programming: A Fun and Interactive Approach to Coding

One of the best ways to introduce kids to programming is through block programming, a method that simplifies coding concepts using visual blocks instead of writing complicated lines of code...
Scroll to Top