Stop a sound effect.
const audioSource = this.assetManager.getAudio("audio/sfx/coin.ogg");stopSfx(audioSource); Copy
const audioSource = this.assetManager.getAudio("audio/sfx/coin.ogg");stopSfx(audioSource);
The audio source to stop.
Stop a sound effect.
Example