Add sound
add_soundAdd WAV/MP3 sound files to a chosen sprite or the stage in Scratch projects, specifying the target and sound name.
Instructions
Add a sound to a sprite (or the stage) from an audio file on disk.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| path | Yes | Path to the audio file (WAV/MP3). | |
| target | Yes | Sprite name, or "Stage". | |
| dataFormat | No |