# engineGetLocalLightShadows (Client)

> Tells whether local lights cast shadows.

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

## Syntax

```lua
bool engineGetLocalLightShadows()
```

## Returns

`true` if local light shadows are on. `false` if they are off or the renderer is not running.

## Example

```lua
if engineGetLocalLightShadows() then
    outputDebugString("local light shadows are on")
end
```

## See also

- [engineSetLocalLightShadows (Client)](https://wiki.mymp.gg/en/engineSetLocalLightShadows.md): Turns the shadows of local lights (point, spot and rect lights) on or off.
