Skip to content

Please update your browser

Your browser version is not supported by this site. CS First may not work properly. Learn more

arrow_back Change Color


In this video, you will make a letter change color when it is clicked.

This changes the look of a letter in your animation and makes it stand out.

To start, add a new sprite to your project from the Scratch library.

Scroll through the sprites to find the letter you need.

Click on the sprite to add it to your project.

This example uses the letter “A,” but you will add a sprite for the name you are animating.

Next, code the sprite to change colors.

Click the “scripts” tab, and select the “looks” menu.

Click, hold, and drag out a “change effect by” block.

Change the dropdown to “color.”

Click the block to see what it does.

Each time you click, the sprite changes color!

Next, make the sprite change color when it is clicked.

To do this, click the events menu.

Blocks from this menu tell the computer when to run code.

Drag out a “when this sprite clicked” block.

Attach it to the top of the “change effect by” block.

Click the sprite to see what happens.

The sprite changes color when you click it!

Now, it’s your turn: Add a sprite to your project.

Add a “change effect by” block, and change the dropdown to “color.”

Add a “when this sprite clicked” event.

Once you finish these steps, return to this page to select another video.

Choose an Add-On
Change Color
Change the color of a letter when it’s clicked.
Grow and Shrink
Change the size of a sprite when it’s clicked and add a sound to match the animation.
Draw a Letter
Draw your own letter and make it move.
Add a letter and rotate it when it’s clicked.
Move the sprite up and down and add a sound as it bounces
Create and change to different costumes.
Bounce Everywhere
Move the sprite all around the stage, then make it return to a specific point.
New Backdrop
Switch to a different backdrop by clicking the letter or sprite.
Say Something
Make the letters talk to each other when the green flag is clicked.
Sprite Dance
Make a sprite dance when the sprite is clicked.
Add Background Music
When you click a sprite, play a song and change the background
Play a Beat
Play a drum beat when the sprite is clicked.
Next arrow_forward
  1. Watch the introduction video.
  2. Open the Starter Project below.
  3. Return to this page and watch more videos to customize your project.