Doodles often animate letters to make them move.

In this video, you will animate a sprite to make it look like it’s bouncing.

To do this, you will program it to move up and down repeatedly.

To start, select a sprite to program.

This example uses the “G,” but use any sprite you'd like.

Next, program the sprite to move up.

Select the “Motion” menu.

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

Click the block to see what it does.


Each click moves the letter up.

Next, program the sprite to move down.

Drag out another “change y by” block.

Change the value to negative 10.

Click the block.


Each click moves the sprite down.

If you click these blocks repeatedly, the sprite looks like it is bouncing.

Next, program the computer to run these blocks in order.

Attach the blocks, and click to run.

Nothing happened?

The computer runs these blocks so quickly, you can’t see the sprite move.

To fix this, program the computer to “wait” between actions.

Select the “Control” menu, and add a “wait” block between the two “change y by” blocks.

Click to try it out.


The letter bounces once.

Next, program the computer to repeat this action.

Select the “Control” menu.

Click, hold, and drag out a “repeat” block.

Place it around the block stack, and click to run.

The sprite bounces, but not so smoothly.

Add a “wait” block after the “change y by negative 10” block to make the sprite wait between moving up and moving down.

To change how the sprite bounces, tinker with the values in these code blocks.

For example, to make the sprite bounce faster, change the value in the “wait” block to a smaller number.

To make it to bounce higher, change the values in the “change y by” blocks.

To make it to bounce more, change the value in the “repeat” block.

Add an event to tell the computer when to run this code.

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

You could run this code when you press a key, for example, or click the flag.

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

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

Copy this code to as many sprites as you like.

Now it’s your turn: Select a sprite to program.

Add “change y by 10,” “wait,” and “change y by negative 10” blocks.

Add a “repeat” block around this stack.

Add an event, like “when this sprite clicked.”

Copy this code to as many sprites as you’d like.

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 (