When I try to mute every sound with the tag "sfx", it's only some of the sounds that get muted; the rest still gets played some of the time.
Why doesn't this work?
prnt.sc/10n0jdv
You should change the condition is:
Audio > is tag "sfx" not playing
You are using boolean variable and it is not the Audio tag.
I think you misunderstood my question Maverick1912.
I've set a boolean that decides whether or not SFX should be muted. When it's false, all sounds with the "sfx" tag, should be muted, but for some reason, they aren't always muted.
Develop games in your browser. Powerful, performant & highly capable.
your code will try to mute the sounds every tick - as long as the boolean is false.
there could be other places in your code that are running every tick that are undoing the mute on certain sounds.