---
name: "setLightIR"
type: command
status: ok
groups: ["Lights"]
arma3_since: "2.06"
locality: {"argument": "local", "effect": "local", "server_exec": false}
source: https://community.bistudio.com/wiki/setLightIR
revid: 310362
updated: 2022-05-05T17:39:18Z
---

# setLightIR

*Command · Lights · Arma 3 v2.06*

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

## Description

Sets lightpoint in infrared range.

## Syntax

```sqf
light setLightIR value
```

**Parameters:**

- `light`: [Object](../topics/Object.md) - object of class `"#lightpoint"` or similar
- `value`: [Boolean](../topics/Boolean.md) - [true](../commands/true.md) to make it visible *only* with night vision goggles, [false](../commands/false.md) to make it a normal light

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

## Examples

### Example 1

```sqf
myLight setLightIR true; // visible with NVG only!
```

## See also

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

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