# isSoundPanningEnabled (Client)

> Tells whether a 3D sound has stereo panning on.

- **Platform**: MY Multiplayer (MYMP)
- **Kind**: Lua Function
- **Side**: Client
- **Category**: Sound
- **URL**: https://wiki.mymp.gg/en/isSoundPanningEnabled

## Syntax

```lua
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

```lua
outputDebugString(tostring(isSoundPanningEnabled(ambience)))
```

## See also

- [setSoundPanningEnabled (Client)](https://wiki.mymp.gg/en/setSoundPanningEnabled.md): Turns stereo panning on or off for a 3D sound. When on, the sound leans left or right depending on the camera. It starts on.
