---
name: "camPrepareFov"
type: command
status: ok
groups: ["Camera Control"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/camPrepareFov
revid: 323072
updated: 2022-06-28T21:43:12Z
---

# camPrepareFov

*Command · Camera Control · Arma 3 v0.50 · introduced in Armed Assault v1.00*

## Description

Prepares the camera field of view (zoom). The default zoom level is 0.75, 0.01 is the nearest and 2 the furthest zoom value. The angle of the field of view is *atan(FOV)*2* radians when in 4:3 aspect ratio. Needs the call of [camCommitPrepared](../commands/camCommitPrepared.md) to be conducted.

## Syntax

```sqf
camera camPrepareFov fieldOfView
```

**Parameters:**

- `camera`: [Object](../topics/Object.md)
- `fieldOfView`: [Number](../topics/Number.md)

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

## Examples

### Example 1

```sqf
_camera camPrepareFov 0.1;
```

## See also

[camSetFov](../commands/camSetFov.md) · [camPreload](../commands/camPreload.md) · [camCommitPrepared](../commands/camCommitPrepared.md)

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