One way to animate your project is to make a sprite disappear.

For Earth Day, you can make your project show the importance of protecting animals by telling a story of an animal disappearing.

To start, select a sprite to program.

This example uses an “o”, but you can use any sprite you like.

Next, program the sprite to disappear.

Select the “looks” menu.

This menu contains blocks that change a sprite’s appearance.

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

This block includes many different effects to choose from.

To make a sprite disappear, use the “ghost” effect.

Click the block to see what it does.

Whoah! Each click makes the sprite disappear a little more.

To make the sprite reappear, click the stop sign.

Next, program the computer to repeatedly run this block.

Select the “control,” menu.

Click, hold, and drag a “repeat” block around the “change effect by” block.

The “repeat” block is a type of loop.

It runs the “change effect” block 10 times.

Click the block to run.

Holy Cow! The sprite disappeared!

To change the speed of the effect, tinker with the values in the “repeat” and “change effect by” blocks.

This example uses 100 and 5, but use values that work for you.

Next, use a “say” block to to celebrate what is special about this animal, or to ask people to save the environment so it can avoid becoming extinct.

Select the Looks menu. Click, hold and drag out a “say for 2 seconds" block.

This example uses “I'm a national treasure in China!”, but use the words that work best for your story or project.

Place the “say” block on top of the “repeat” block.

Click the block stack to run.

You did it! Then, add an event to tell the computer when to run this code.

Select the “events” menu.

This example uses a “when this sprite is clicked” block, but you can use any event you like.

You could run this code when you click the flag or click the sprite.

To copy this code to other sprites, click, drag, and drop the code onto another sprite.

Click the sprite to check that it copied correctly, then run the code.

Copy this code to as many sprites as you like.

Now it’s your turn: Select a sprite.

Add a “repeat” and “Change effect by” block.

Change the value in the “change effect by” block to “ghost.”

Add a “say for 2 seconds” block to the top of the block stack Add an event, like “when this sprite is clicked” Once you finish these steps, return to this page to select another video.

Choose an Add-On

Say Something

Tell a story with talking letters.

Add Backdrop

Add an image or new landscape behind the logo.

Change Color

Create an interactive logo by changing letter colors when a key is pressed.

Bouncing Sprites

Animate your letters to make them bounce.

Change Scene

Add a button that changes the scene behind your logo.

Disappearing Sprites

Make a letter disappear.

Switch Costume

Change the style of a letter each time it's clicked.


  1. Watch the introduction video.
  2. Open the Starter Project below.
  3. Return to this page and watch more videos to customize your Earth Day logo.
  • "Doodle 4 Google 2012- Behind the Scenes with the Doodle Team" by Google ( -- Licensed by Standard Youtube License (
  • ® ‘WWF’ and ‘World Wildlife Fund’ are WWF Registered Trademarks. © 1986 Panda Symbol WWF.
  • "Living With Asian Elephants" by World Wildlife Fund ( -- Licensed by CC BY-SA 4.0 (