I am trying to make a mute button that will mute and unmute when clicked, but whenever I click on it the music just mutes and never played even when I click on it again!
Develop games in your browser. Powerful, performant & highly capable.
If is_muted -> unmute
Else -> mute