I am making a game for a class project.
I decided to add a button that plays music, when I click on the button the music starts.
I am trying to get it so if the button is clicked on again it will stop the music, but right now it just starts the song again making a cacophony of noise.
Any ideas on how to fix this?
I had one idea but it just made it so music didn't play at all.
