How exactly would the Global Variable correspond with the toggle of the mute button? I don't quite get how to toggle sound other than using the Set silent function.
Edit:
The thing is within my game global variables are often being reset between layouts, so I don't think using global variables would be optimal for this game. It's just a tiny bug that occurs in the game.
Edit 2:
I found out that you can toggle using boolean instance variables, but by using instance variables I guess each separate layout won't be able to grab the instance variable value from another layout?