---
name: "setLightUseFlare"
type: command
status: ok
groups: ["Lights"]
arma3_since: "0.50"
locality: {"argument": "local", "effect": "local", "server_exec": false}
source: https://community.bistudio.com/wiki/setLightUseFlare
revid: 341209
updated: 2023-05-13T22:45:31Z
---

# setLightUseFlare

*Command · Lights · Arma 3 v0.50*

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

## Description

Sets if light has flare.

## Syntax

```sqf
light setLightUseFlare bool
```

**Parameters:**

- `light`: [Object](../topics/Object.md)
- `bool`: [Boolean](../topics/Boolean.md)

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

## Examples

### Example 1

```sqf
myLight setLightUseFlare true;
```

## See also

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

## Community notes

**ffur2007slx2_5** — 2014-03-25

1. In Arma 3 ver 1.14 flare color can be changed via [setLightColor](../commands/setLightColor.md).
1. Flare won't have visual presentation in daytime.
1. [setLightUseFlare](../commands/setLightUseFlare.md) needs to be used together with [setLightFlareSize](../commands/setLightFlareSize.md) and [setLightFlareMaxDistance](../commands/setLightFlareMaxDistance.md) so that a flare can be seen.

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