Skip to content

triggerSoundEventSource

triggerSoundEventSource(world, entity): Promise<SoundEventHandle | null>

Defined in: audio/SoundEventSource.ts:25

Play one source intent, independently of other triggers in the same frame. While the definition loads, at most 256 intents per source wait in FIFO order. Returns null when unavailable, cancelled, overflowing, or the definition fails; otherwise the handle exposes event/global admission and clip-load results.

World

number

Promise<SoundEventHandle | null>