audPlaySound

Category: Audio

Syntax:

audPlaySound:Int(sound:Int)


Parameters

Returns

Int



Summary

Plays a sound once and returns a channel handle.

Takes sound (sound handle from audLoadSound).

Returns a channel handle.

View detailed documentation online



Example
Local pistolSound:Int = audLoadSound("pistol.wav")

Local channel:Int = audPlaySound(pistolSound)

BambooBasic © 2026 Michael Denathorn