Hello, I have a button that plays a sound and i want to prevent users from tapping the button multiple times and having the sound play more than once. I need a way to check if a sound is already being played when the button is pressed and if so, don't play it.
I suppose i could start a time when the button is pushed that is the exact length of the audio file, but that doesn't seem like an efficient way to do it, especially with multiple audio files.
Thanks, Chase