Real races, often have dramatic crashes.

In this add-on, you'll program the sprites to play a crashing sound if they touch.

To start, program player one to continually check if it's touching player two after the flag is clicked.

Select player one.

Then from events, add a one flag quick block.

From control, add a forever loop, and in this add a if then block.

To make player one play a sound if it touches player two, click sensing, and add a touching block.

Change the value to player two.

Next, add a sound.

Click the sounds tab, and select to sound from library.

You can select whichever sound you want for your project.


Select the sound menu, and drag out a play sound until done block.

Place this block in if statement, and change the drop down to the sound you selected.

Now, the code reads, when the program starts, if player one touches player two, play a sound.

Test your coded by clicking the flag.

(player one screaming)

(player one screaming)

(player one screaming)

(player one screaming)

(player one screaming)


Now, if the two players crash into each other, a scream sound plays.

This is a fun feature to play with someone else, so ask your neighbor to play your game.

Now it's your turn.

Program the player one sprite to check if it's touching player two, using an if touching forever, and one flag quick blocks.

Then, add a sound effect from the scratch library, using a play sound until done block.

Choose an Add-On

Change Up your Racetrack

Add a button that changes the racetrack backdrop.

Costume Change

Change what the racers look like when a key is pressed.

Crashing Sounds

Play a crashing sound each time the racers hit each other.

Race Fans

Program a sprite to count down to the start of the race and cheer.

Color Trail

Add a colorful trail effect to the racers.


  1. Choose an Add-On, and click "watch" to learn how to build it.
  2. Once you finish one Add-On, try another one below the video!
  • The song “Magic Marker” is © YouTube-- CC-BY-SA 4.0 does not apply.