Sound.stop
Jump to navigation
Jump to search
Sound.stop
stops this sound if it is currently playing.
Example
s = file.loadSound("/sys/sounds/bonus.wav")
s.loop = true
s.play; key.get; s.stop