-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.IsSoundPlaying
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Check if a sound is playing
| Parameter | Default Value | Note |
|---|---|---|
| sound |
| Condition | Return Value |
|---|---|
| (always) | number |
raylib.InitAudioDevice
sound = raylib.LoadSound("resources/beep.wav")
raylib.PlaySound sound
print "Sound playing: " + raylib.IsSoundPlaying(sound)
raylib.UnloadSound sound
raylib.CloseAudioDevice