O'Reilly logo

Scratch Cookbook by Brandon Milonovich

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Importing a new sound

Scratch comes with a variety of sounds built-in that we can use beyond the default meow sound. Here we will see how to access them and get them into our programs to be played back at various points.

Getting ready

Refer to the previous recipe to have the ability to play a sound in your program. You may also apply this recipe to another program you have already added sound to using your knowledge from the previous recipe.

How to do it...

Let's get started:

  1. You'll notice on the top of the script area there is a third tab we have not used yet called Sounds. Click on this tab. You'll see the following screenshot:
    How to do it...
  2. Click on the Import

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required