---
name: "camCommand"
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/camCommand
revid: 369082
updated: 2024-09-02T20:36:38Z
---

# camCommand

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

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

## Description

Executes a command on the given *camera / actor* object. Known commands:

| All cameras | "Camera" | "Seagull" | "CamCurator" |
|---|---|---|---|
| - `"manual on"`<br>- `"manual off"` | - `"inertia on"`<br>- `"inertia off"` | - `"landed"` lands the seagull<br>- `"airborne"` makes the seagull fly | - `"maxPitch (x)"` (number, in degrees)<br>- `"minPitch (x)"` (number, in degrees)<br>- `"speedDefault (x)"` (number)<br>- `"speedMax (x)"` (number)<br>- `"ceilingHeight (x)"` (number, in meters, ASL)<br>- `"atl (x)"` (on/off)<br>- `"surfaceSpeed (x)"` (on/off) |

> [!NOTE]
> The [camCommand](../commands/camCommand.md) effect is immediate and does not need [camCommit](../commands/camCommit.md)/[camCommitPrepared](../commands/camCommitPrepared.md).

## Syntax

```sqf
camera camCommand command
```

**Parameters:**

- `camera`: [Object](../topics/Object.md) - see [camCreate](../commands/camCreate.md)
- `command`: [String](../topics/String.md) - see description

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

## Examples

### Example 1

```sqf
_camera camCommand "manual on";
```

### Example 2

```sqf
private _camera = "CamCurator" camCreate [0,0,0];
_camera camCommand "maxPitch 89";
_camera camCommand "minPitch -89";
_camera camCommand "speedDefault 0.1";
_camera camCommand "speedMax 2";
_camera camCommand "ceilingHeight 5000";
_camera camCommand "atl off";
_camera camCommand "surfaceSpeed off";
```

## See also

[cameraEffect](../commands/cameraEffect.md) · [camCreate](../commands/camCreate.md) · [camCommit](../commands/camCommit.md)

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