Module 1: Paint Box

Course: Scratch Programming     Level: Module 1     Project 23 of 35

Official Raspberry Pi Project

This lesson is based on the official Raspberry Pi Foundation project. Open it alongside this guide to access the starter project, step-by-step instructions and community remixes.

### [🍓 Open "Paint Box" on Raspberry Pi Projects →](https://projects.raspberrypi.org/en/projects/paint-box)

How to use it: Click the link above, then click See Inside on the Scratch project to explore the finished version. Use Remix to get your own copy to edit.


What You Will Build

Create a drawing application using the Pen extension.


What You Will Learn

By the end of this project you will be able to:


You Will Need

Item Details
🌐 Browser Any modern browser — Chrome, Firefox or Edge
🔶 Scratch account Free at scratch.mit.edu
⏱️ Time Approximately 30–45 minutes
📋 Starter project Available via the Raspberry Pi link above

Step-by-Step Guide

  1. Add a white backdrop as the canvas.
  2. Add the Pen extension from the Extensions menu.
  3. Create a cursor sprite (small dot). Move it with the mouse using go to [mouse-pointer].
  4. When the mouse is down: pen down. When mouse is up: pen up.
  5. Add colour buttons. When clicked: set pen color to [ ].
  6. Add size buttons. When clicked: set pen size to [2/5/10].
  7. Add an eraser tool: set pen colour to white and size to 20.
  8. Add a clear canvas button: clear, reset pen.
  9. Add a stamp tool: when a shape sprite is clicked, stamp it onto the canvas.
  10. Add a save reminder message — tell the user to screenshot their artwork.

Extension Challenges

Try these after completing the main project:


Reflection Questions

  1. Which Scratch blocks did you use most in this project?
  2. What would you add or change if you had more time?
  3. How could you reuse the ideas from this project in a different context?

Share Your Work

When your project is complete, click Share in Scratch and post the link to your class or the Techbase community.


Back to Scratch Course     Next: Lesson 24