---
name: "cameraOn"
type: command
status: ok
groups: ["Camera Control", "Remote Control"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/cameraOn
revid: 347206
updated: 2023-09-05T08:55:52Z
---

# cameraOn

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

## Description

Returns the vehicle to which the camera is attached. If you need the person, see [focusOn](../commands/focusOn.md).

## Syntax

```sqf
cameraOn
```

**Returns:** [Object](../topics/Object.md) - vehicle

## Examples

### Example 1

```sqf
_object = cameraOn;
```

## See also

[switchCamera](../commands/switchCamera.md) · [cameraView](../commands/cameraView.md) · [cameraEffect](../commands/cameraEffect.md) · [focusOn](../commands/focusOn.md) · [remoteControl](../commands/remoteControl.md)

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