i want to make a single button to play a sound, and if pressed again, stop the sound. and if pressed again, play the sound, and so on…
i know it has to be made with a boolean variable, true/false, but i just can’t figure out how.
any help?
thank you very much.