How do I make these all apply to one function, so that one plays, but stops the one before it?
Code
def rex_audio(self):
RexAud = SoundLoader.load('Rex.wav')
RexAud.play()
return
def sweetie_audio(self):
SweetieAud = SoundLoader.load('Sweetie.wav')
SweetieAud.play()
return