Play Sound Once
What it does
Plays an audio clip once from the item that owns this effect. Use it for clicks, pickups, impacts, short announcements, and other one-time sound effects.
Setup
- Select the item that should emit the sound.
- Add Play Sound Once to the task state that should play it.
- Provide the audio URL or use the audio upload control.
- Set the listening range and playback options, then use Preview Sound before testing in the space.
Settings
| Setting | What it means |
|---|---|
| URL | Hosted audio file to play. |
| Distance | Listening range from the item. A value below zero makes the sound global. |
| Preload | Downloads the clip when the room loads so it is ready sooner. |
| Play On Start | Plays the clip when the task starts. |
| Volume | Playback volume. |
| Random Pitch Variance | Adds small pitch variation each time the clip plays. |
| Delay Before Play | Waits before playing the clip. |
| Fade In Duration | Gradually raises the volume at the start. |
| Preview Sound | Plays a local preview while you configure the effect. |
Tiny example
A player clicks a treasure chest. The click task plays a short chest-open sound once from the chest item.
Test and troubleshoot
- Confirm the URL is reachable and points to an audio file.
- Use Preload for short, important sounds that should start immediately after a player enters.
- Use a negative distance only when every player should hear the sound regardless of location.
- For an ambient sound that should continue, use Play Sound In A Loop instead.
