---
name: "camCommitted"
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/camCommitted
revid: 325310
updated: 2022-07-10T23:05:00Z
---

# camCommitted

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

## Description

Checks if the conduction of the last camCommit call already finished.

## Syntax

```sqf
camCommitted camera
```

**Parameters:**

- `camera`: [Object](../topics/Object.md) - object of type "camera"

**Returns:** [Boolean](../topics/Boolean.md) - true if the last camCommit already finished, false if not

## Examples

### Example 1

SQS:

```sqs
; create a camera object
_cam = "camera" camCreate [5600,4800,10]
_cam camSetTarget player
_cam cameraEffect ["internal", "BACK"]
_cam camCommit 0

; smoothly move the camera to its new position in 6 seconds
_cam camSetPos [5680,4720,20]
_cam camCommit 6
@camCommitted _cam

; proceed
```

### Example 2

SQF:

```sqf
_cam = "camera" camCreate [0, 0, 0];
_cam camSetTarget player;
_cam camSetRelPos [0, -5, 10];
_cam cameraEffect ["internal", "back"];
_cam camCommit 0;

waitUntil { camCommitted _cam };

_cam camSetTarget player;
_cam camSetRelPos [90, 25, 10];
_cam cameraEffect ["internal", "back"];
_cam camCommit 5;

waitUntil {camCommitted _cam};

_cam camSetTarget player;
_cam camSetRelPos [-90, -5, 10];
_cam cameraEffect ["internal", "back"];
_cam camCommit 5;
```

## See also

[camCommit](../commands/camCommit.md)

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