I have a button that turns the music on and off, and another that turns the sound effects on and off, the music works well, but
How can I prevent multiple sound effects with the "soundeffect" tag from playing?
Develop games in your browser. Powerful, performant & highly capable.
Simply add a condition Audio tag "soundeffect" is NOT playing