# getLightIntensity (Cliente)

> Lee el brillo de una luz.

- **Plataforma**: MY Multiplayer (MYMP)
- **Tipo**: Función Lua
- **Lado**: Cliente
- **Categoría**: Luces
- **URL**: https://wiki.mymp.gg/es/getLightIntensity

## Sintaxis

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

## Parámetros

| Nombre | Tipo | Descripción |
| --- | --- | --- |
| `light` | `light` | La luz. |

## Retorno

El multiplicador de brillo, o `false` con un argumento incorrecto.

## Ejemplo

```lua
local light = createPointLight(0, 0, 5)
outputDebugString(getLightIntensity(light)) -- 1
```

## Ver también

- [setLightIntensity (Cliente)](https://wiki.mymp.gg/es/setLightIntensity.md): Cambia el brillo de una luz.
- [getLightColor (Cliente)](https://wiki.mymp.gg/es/getLightColor.md): Lee el color de una luz.
