Sound muting and unmuting


I’m trying to make a single button for muting the game’s sound and unmuting it, but I can’t get it to work, why is that?

you need and auxiliar variable, for example when you click add
do=0 to scene variable click
then add click=0 on mute and unmute conditions
when you enter in mute or unmute change value of click to 1

You’ll need the button itself. My events are a bit different and I may change something later, but it works. I just pasted my icons into the same image here to show everything in one shot, but they are separate animations of a sprite with the events attached to the object.