I have a menu scene with a conditional mute music button called "Music Button 5". When clicked, volume is set to 0% and the opacity of the image is set to 40% to give it a greyed out look. It mostly works except for when I mute the music volume, then play the game in a different scene, then come back to the menu scene. The volume stays muted, but the opacity of the button reverts to 100%.
To try and combat this, I made a number based game attribute set to 1 by default. When the button is pressed and music volume is set to 0%, the game attribute is set to 0. When pressed and set back to 100%, game attribute is set back to 1. So I have an "Always If Game Attribute = 0, set button opacity to 40%". I've tried putting it in the "When Created" event also with no result. I even tried having it in both "When Created" and "Always". No matter what it is reset when I come back to the menu.
Can anyone help with this?