isSoundPanningEnabled
Client
Tells whether a 3D sound has stereo panning on.
bool isSoundPanningEnabled(sound sound)
Parameters
| Name | Type | Description |
|---|---|---|
| sound | sound | The sound element, or a dui element for the browser's sound. |
Returns
true if it is on, false if it is off, the sound is not 3D or it was not found.
Example
outputDebugString(tostring(isSoundPanningEnabled(ambience)))