---
name: "isLaserOn"
type: command
status: ok
groups: ["Weapons"]
arma3_since: "1.78"
locality: {"argument": "local", "effect": "global", "server_exec": false}
source: https://community.bistudio.com/wiki/isLaserOn
revid: 377491
updated: 2026-01-02T06:49:13Z
---

# isLaserOn

*Command · Weapons · Arma 3 v1.78*

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

## Description

Returns true if the vehicle has its laser turned on. Not to be confused with [isIRLaserOn](../commands/isIRLaserOn.md) which is for units. Main syntax is for primary gunner turret.

## Syntax

### Syntax 1

```sqf
isLaserOn entity
```

**Parameters:**

- `entity`: [Object](../topics/Object.md) - unit or vehicle

**Returns:** [Boolean](../topics/Boolean.md) - [true](../commands/true.md) when laser is on, [false](../commands/false.md) otherwise

### Syntax 2

*since Arma3 2.12*

```sqf
vehicle isLaserOn turret
```

**Parameters:**

- `vehicle`: [Object](../topics/Object.md) - transport
- `turret`: Turret Path - [-1] for driver turret

**Returns:** [Boolean](../topics/Boolean.md) - [true](../commands/true.md) when laser is on, [false](../commands/false.md) otherwise

## Examples

### Example 1

```sqf
if (isLaserOn _vehicle) then { hint "target ready" };
```

## See also

[laserTarget](../commands/laserTarget.md) · [enableIRLasers](../commands/enableIRLasers.md) · [isIRLaserOn](../commands/isIRLaserOn.md)

## Community notes

**Sa-Matra** — 2022-12-27

Does not mean there is actual laser object present. Returns laser designator weapon's toggle state. In other words [isLaserOn](../commands/isLaserOn.md) can return `true` while [laserTarget](../commands/laserTarget.md) returns `<NULL-object>`, for example in case laser was turned on and unit left the vehicle, there would be no laser target entity anymore, while designator is still turned on.

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