Hi, I have a question about sounds. In my current project, I have an options card for various things and I want to have an option to mute all sounds in the deck. So far, I thought of putting this script everytime a sound is played, with a checkbox button named "soundsandmusic" on the options card:
if options.widgets.soundsandmusic.value=1 play["sound"] end
And I was wondering if there was a more simple way to do this, instead of putting an if statement everytime a sound is played.