---
name: "getTurretOpticsMode"
type: command
status: ok
groups: ["Turrets"]
arma3_since: "2.10"
locality: {"argument": "local", "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/getTurretOpticsMode
revid: 377480
updated: 2026-01-02T06:48:55Z
---

# getTurretOpticsMode

*Command · Turrets · Arma 3 v2.10*

Locality: arguments **local**

## Description

Get the current optics mode of the optics in the turret occupied by the specified unit. The alternative syntax allows a vehicle and turret path to be specified without needing a unit. Optic modes refer to the different fields of view (FOV) or zoom levels of an optic.

## Syntax

### Syntax 1

```sqf
getTurretOpticsMode obj
```

**Parameters:**

- `obj`: [Object](../topics/Object.md)

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

### Syntax 2

```sqf
obj getTurretOpticsMode turretPath
```

**Parameters:**

- `obj`: [Object](../topics/Object.md)
- `turretPath`: Turret Path

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

## Examples

### Example 1

```sqf
getTurretOpticsMode player;
```

### Example 2

```sqf
myTank getTurretOpticsMode [-1];
```

### Example 3

```sqf
myAircraft getTurretOpticsMode [0, 0];
```

## See also

[setTurretOpticsMode](../commands/setTurretOpticsMode.md) · [turretOwner](../commands/turretOwner.md) · [getPilotCameraOpticsMode](../commands/getPilotCameraOpticsMode.md) · [setPilotCameraOpticsMode](../commands/setPilotCameraOpticsMode.md)

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