So I used a variable to make a sound toggle so like
when button clicked>> set variable to variable times -1
variable = 1 then play (audio)
variable =-1 then stop all
But for some reason this just keeps resetting the song so all you hear is this glitchy noise.
And if I change it to
On start of layout
variable = 1 then play (audio)
On start of layout
variable =-1 then stop all
the toggle just doesn't work.
Please help.