---
name: "setLightBrightness"
type: command
status: ok
groups: ["Lights"]
arma3_since: "0.50"
locality: {"argument": "local", "effect": "local", "server_exec": false}
source: https://community.bistudio.com/wiki/setLightBrightness
revid: 376672
updated: 2025-11-04T00:17:20Z
---

# setLightBrightness

*Command · Lights · Arma 3 v0.50 · introduced in Armed Assault v1.00*

Locality: arguments **local** · effect **local**

## Description

Set brightness of light. Does nothing for light reflector, for light point the formula is [setLightIntensity](../commands/setLightIntensity.md) ((brightness * 50) ^ 2)

> [!NOTE]
> This command is outdated. Use [setLightIntensity](../commands/setLightIntensity.md) instead.

## Syntax

```sqf
light setLightBrightness brightness
```

**Parameters:**

- `light`: [Object](../topics/Object.md)
- `brightness`: [Number](../topics/Number.md)

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
myLight setLightBrightness 2;
```

## See also

[setLightIntensity](../commands/setLightIntensity.md) · [setLightAmbient](../commands/setLightAmbient.md) · [setLightColor](../commands/setLightColor.md) · [lightAttachObject](../commands/lightAttachObject.md) · [lightDetachObject](../commands/lightDetachObject.md) · [setLightAttenuation](../commands/setLightAttenuation.md) · [setLightUseFlare](../commands/setLightUseFlare.md) · [setLightFlareSize](../commands/setLightFlareSize.md) · [setLightFlareMaxDistance](../commands/setLightFlareMaxDistance.md) · [setLightDayLight](../commands/setLightDayLight.md)

## Community notes

**Feersum** — 2006-12-01

Light can be created with command [createVehicleLocal](../commands/createVehicleLocal.md) with special vehicle class `"#lightpoint"`

for example:

```sqf
_light = "#lightpoint" createVehicleLocal _posAGL;
_light setLightBrightness 1.0;
_light setLightAmbient [0.0, 1.0, 0.0];
_light setLightColor [0.0, 1.0, 0.0];
_light lightAttachObject [_object, [0,0,0]];
```

<sub>Source: [BI Community Wiki — setLightBrightness](https://community.bistudio.com/wiki/setLightBrightness) (revision 376672).</sub>
