Skip to content

Please update your browser

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

Transcript

Logos can be even more engaging when people can interact with them.

In this video, you will make your logo interactive by changing letter colors when a key is pressed.

To start, select a sprite to program.

This example uses the G, but you can use any sprite you like.

Next, program the sprite to change colors.

Select the Looks menu.

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

Click the block to see what it does.

Alright!

Each click changes the color of the letter.

Next, program this block to run when you press a key.

Select the Events menu.

Events blocks tell the computer when to run code.

Drag out a “when key pressed block,” and attach it to the “change color effect” block.

Try it out.

Press the spacebar.

You can change the values in each of these blocks.

For example, make a letter pixelate when you press the G key.

Try different effects to see what works best for your project.

Press the stop sign to reset the effect.

To add an effect to another letter, select the sprite, then add “when key pressed” and “change effect” blocks.

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

Add “change effect” and “when key pressed” blocks.

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

Choose an Add-On
Switch Costume
Change the style of a letter each time it's clicked.
arrow_forward
Say Something
Tell a story with talking letters.
arrow_forward
Add Backdrop
Add an image behind the logo.
arrow_forward
Change Color
Create an interactive logo by changing letter colors when a key is pressed.
arrow_forward
Edit, Draw or Add Letters
Edit, draw, or add an image to change how a letter looks.
arrow_forward
Chase
Turn your logo into a game where a letter chases the mouse pointer.
arrow_forward
Change Scene
Add a button that changes the scene behind your logo.
arrow_forward
Spin
Make a letter spin.
arrow_forward
Jumble Letters
Make your letters randomly move across the screen.
arrow_forward
Disappearing Sprites
Play a sound as a letter disappears.
arrow_forward
Dance Whirl
Make your letters whirl to music.
arrow_forward
Bouncing Sprites
Animate your letters to make them bounce.
arrow_forward
Next arrow_forward
Instructions
  1. Watch the introduction video.
  2. Open the Starter Project below.
  3. Return to this page and watch more videos to customize your Valentine's Day logo.