Mute and unmute

Hello. I’m new to this so if this is a very easy question, I apologize. I tried to figure this out, but I couldn’t. I just need the touch of a button to mute all sound and another touch to unmute the sound. Thanks.

Nathan [import]uid: 39302 topic_id: 18651 reply_id: 318651[/import]

add a
[lua] audio.setVolume(0)[/lua]
when muting and
[lua] audio.setVolume(1)[/lua]
when unmuting [import]uid: 64174 topic_id: 18651 reply_id: 71649[/import]

Okay. Thank you!

Nathan [import]uid: 39302 topic_id: 18651 reply_id: 71654[/import]