Skip to main content
Using sounds

How can I add sounds with ubbox?

Sofia Sapeira avatar
Written by Sofia Sapeira
Updated over 3 months ago

Have you ever created a game or story on ubbox and missed having sound in your animations?

Sounds are blocks tabs that will allow you to add audios to your projects. You'll find different styles of sounds, from robots to the ocean waves.

To add sounds to your project, follow these steps:


1. Edit a sprite.

2. Click on Sounds.

3. Choose the sound you want. You can select more than one.

4. Click on Confirm.

Now that the sprite has one or more sounds selected, we can edit them. Use the following blocks from the Sounds tab:

  • playSnd() plays audio- Plays the selected audio and executes the rest of the code without waiting for the sound to finish playing.

  • playSnd() plays the audio and waits - Plays the selected audio and waits until it’s finished, then runs the rest of the code.

  • stopSnd() stops playing - Stops playing all programmed audios or just the selected one.

  • fltrSnd() changes the volume to 100% - Changes the audio/tone by “x” %.

⚠️ - Loud sounds (such as shouting or certain types of music) can damage the hearing of certain users, especially if the volume is too loud or headphones are used. If you use these sounds, it is important that you inform them in the description of your project or, if possible, lower the volume of the audio.

Did this answer your question?