Skip to content


YaSoundHandle is an interface that controls the sound is played.


number VolumeBeta
Returns the volume of the sound. It's 1 by default.
YaSoundSetting SoundSettingBeta
Returns properties of the sound.
Ya3DSoundPositionData SoundPosInfoBeta
Returns the position information of the 3D sound.
boolean IsPlayingBeta
Returns true if the sound is being played.


boolean IsValid()Beta
Returns true if the sound playback has ended.
void Stop()Beta
Stops playing the sound.
boolean Play()Beta
Starts playing the sound.
void SetMaxDistance(number maxDistance)Beta
Sets the maximum propagation distance of the 3D sound.