Add a sound
add_soundAdd sounds to a sprite or the stage using built-in options like pop, beep, or boing, or upload your own .wav file.
Instructions
Adds a sound to a sprite or the stage. Built-in sounds: pop, beep, boing, zap, click, chime, whoosh. Files must be .wav.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Path to a .wav file | |
| name | No | Sound name when loading from a file | |
| sound | No | Built-in sound name | |
| target | No | Sprite name, or "Stage". Defaults to the stage |