# getLightFalloff (Client)

> Reads a light's fade exponent.

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

## Syntax

```lua
float|false getLightFalloff(light light)
```

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `light` | `light` | The light. |

## Returns

The exponent, from 0.1 to 32, or `false` with a wrong argument.

## Example

```lua
local light = createPointLight(0, 0, 5)
outputDebugString(getLightFalloff(light)) -- 4
```

## See also

- [setLightFalloff (Client)](https://wiki.mymp.gg/en/setLightFalloff.md): Changes how a light fades toward the end of its range.
- [getLightRadius (Client)](https://wiki.mymp.gg/en/getLightRadius.md): Reads a light's range.
