In this add-on you will program an erase button for your project.

An erase button makes it easier for people to use your graffiti game without having to restart it whenever they want to draw a new picture.

Add a new sprite that will represent the button.

Scratch has icons that are designed to look like buttons.

And you can add text to them using the Costume editor.

Once you choose a button, program it to clear the screen.

Drag out the when this sprite's clicked event so that Scratch will recognize when someone clicks on the button.

Now, figure out what block to add to make the stage clear when the Erase button is clicked.

Here's a hint, you already used the block once in the core project today.

If you have trouble finding out how to complete this add-on, talk with one of your neighbors and ask for help.

Computer scientists collaborate on projects all the time.

It just makes the code even better!

Now it's your turn: create a new sprite to act as an erase button, use the when this sprite is clicked Event to recognize when a user clicks on a button, figure out which block will help you clear the graffiti drawing, and finally, ask a neighbor for help if you get stuck.

Choose an Add-On

Picture Guessing Game

Turn your Graffiti project into a guessing game with a timer!

Paint in All Colors

Let the user change the paint color.

Tag the Town

Give the user different backdrop choices.

Paint Remover

Create a button to clear the screen.


  1. Choose an Add-On, and click "watch" to learn how to build it.
  2. Once you finish one Add-On, try another one below the video!