[Solved] Music not stopping

Hi. I’m trying to make a simple on/off music button but it’s not working. I read the wiki exemple but as way to much stuff, strings for volume and i want none of that in my game.

Made this so far, I ran the debbuger and the variable is changing but the music is not stopping.
What am i missing? Thank you

You’re playing on a sound channel, but pausing a music channel. Pause the sound channel.


I think your problem is the difference between “music” and “sound”. At the beginning of the scene you’re playing a SOUND on channel 1, and then later you’re pausing MUSIC on channel one. Change it to “Pause a sound on channel 1” and see if that helps.


Thanks guys (Mod edit to adhere to forum language rules)