---
name: "camSetFov"
type: command
status: ok
groups: ["Camera Control"]
arma3_since: "0.50"
locality: {"argument": "local", "effect": "local", "server_exec": false}
source: https://community.bistudio.com/wiki/camSetFov
revid: 318602
updated: 2022-05-13T09:21:10Z
---

# camSetFov

*Command · Camera Control · Arma 3 v0.50 · introduced in Operation Flashpoint v1.00*

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

## Description

Set the zoom level (**F**ield **O**f **V**iew) of the given camera.

The zoom level is from *`0.01`* for the nearest and *`8.5`* for the furthest zoom value, with a default zoom level of *`0.75`*

The angle of the field of view is *`atan(FOV)*2`* radians when in 4:3 aspect ratio. Needs the call of [camCommit](../commands/camCommit.md) to be conducted.

## Syntax

```sqf
camera camSetFov level
```

**Parameters:**

- `camera`: [Object](../topics/Object.md) - object of type "camera"
- `level`: [Number](../topics/Number.md) - zoom level, range 0.01 to 8.5 (see description above)

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

## Examples

### Example 1

```sqf
_cam camSetFov 0.75;
```

## See also

[camPrepareFov](../commands/camPrepareFov.md) · [camSetFovRange](../commands/camSetFovRange.md) · [camSetTarget](../commands/camSetTarget.md)

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