SoundHandle | CraytaKit
Skip to main content

SoundHandle

Inherits from: Handle

Functions

Function NameReturn TypeDescriptionTags
Stop()NoneStop the sound represented by this handleNone
Stop(number fadeOut)NoneStop the sound represented by this handle, fading out over fadeOut secondsNone
SetPitch(number pitch)NoneSet the pitch on this sound (1 = Default pitch, 0.5 = half speed, 2 = 2 times faster)None
SetVolume(number volume)NoneSet the volume on this sound (0 = Silent, 1 = Full volume)None
SetRange(number rangeMin, number rangeFallout)NoneGiven a sound Handle sets the attenuation range minimum and falloffNone

Examples

© 2024 CraytaKit