Skip to content

Doodles often combine sound and visual effects, to create an exciting animation.

In this video, you will program a sprite to play a sound, while it disappears.

To start, select a sprite to program.

This example uses a G, but you can use any sprite you'd like.

Then select the Looks menu, 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.

Whoa, each click makes the sprite disappear a little more.

To make the sprite reappear, click the stop sign.

Select the Control menu, click, hold, and drag a repeat block around the change effect by block.

it runs the change effect block 10 times.

Click the block to run.

Holy cow, the sprite disappeared!

To make the sprite reappear, using a code block, select the Looks menu, and add a clear graphic effects block.

Click the block stack a few times.


This example uses 105, but use values that work for you.

Select the Sounds tab, and choose sound from library.

Select a sound.

(upbeat music)


Then, select the Sound menu, drag out a play sound block, and place it on top of this stack.

Click the block stack to run.


You did it!

Select the Events menu, this example uses a when key pressed 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.

Check the sprite to check that it copied correctly.

(upbeat music)

Then, run the code.


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

Choose an Add-On

Change Color

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

Say Something

Tell a story with talking letters.

Switch Costume

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

Add Backdrop

Add an image behind the logo.

Edit, Draw or Add Letters

Edit, draw, or add an image to change how a letter looks.

Jumble Letters

Make your letters randomly move across the screen.


Turn your logo into a game where a letter chases the mouse pointer.


Make a letter spin.

Change Scene

Add a button that changes the scene behind your logo.

Dance Whirl

Make your letters whirl to music.

Bouncing Sprites

Animate your letters to make them bounce.

Disappearing Sprites

Play a sound as a letter disappears.


  1. Watch the introduction video.
  2. Open the Starter Project below.
  3. Return to this page and watch more videos to customize your logo.
  • "Doodle 4 Google 2012- Behind the Scenes with the Doodle Team" by Google ( -- Licensed by Standard Youtube License (
  • "Google Doodle Team Q&A - Your Questions Answered!" by Nat & Friends ( -- Licensed by Standard Youtube License (
  • "Who Was Lotte Reiniger, And Why’s There A Doodle About Her" by Nat & Friends ( -- Licensed by Youtube License (