Skip to content

Please update your browser

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

arrow_back Add a Soundtrack


This video will show you how to add music to your project.

First, add sound to your project.

The sound will play in the background of your project, so click on the stage.

Next, click on the “sounds” tab, then “choose new sound from library.”

This sound will play as a song in the background, looped over and over again, so click on “music loops.”

To listen to the sounds, click the play button next to each.

When you find one you want to use in your project, click on it, then select ok.

Next, program the sound to play.

Click on the scripts tab.

From the “sounds” menu, drag out a “play sound until done” block.

From the dropdown, select the sound you chose.

Click on it to hear your sound play.

[music plays] The music needs to play more than once if it is going to play for your entire story.

From the “control” menu, place a “forever” loop around the “play sound until done” block.

Click on the code stack.

The sound plays, and when it’s done, it plays again.

This will keep happening forever!


Finally, to start the soundtrack when the story starts, place a “when flag clicked” block on top of the forever loop.

Click the flag.

Music plays while the sprites tell your story!

Now it’s your turn: Add music to your project.

Choose an Add-On
Add a Soundtrack
Add music to run in the background of your project.
Changing Backdrops and Costumes
Add different scenes to your story.
Changing Looks with Code
Learn what the "looks" blocks can do.
Move Around the Stage
Discover ways to make sprites move.
Animate sprites by creating new costumes.
Secret Password
Make a password to protect your story.
arrow_backward Back
Next arrow_forward
  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!