Sound.loop
Jump to navigation
Jump to search
Sound.loop
controls whether a sound will play just once (false) or will
repeat indefinitely (true) when played with Sound.play.
s = file.loadSound("/sys/sounds/bonus.wav")
s.loop = true
s.play; key.get; s.stop