---
name: "setCameraInterest"
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/setCameraInterest
revid: 310118
updated: 2022-05-05T12:25:32Z
---

# setCameraInterest

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

## Description

Set camera interest for given entity. Camera interest is by default 0. Any unit which is speaking has its camera interest raised to 50. Camera interest is used to focus camera to control depth of field in cutscenes. Combination of camera interest, unit position of the screen, unit movement, unit type, and some other properties is used to determine which unit to focus at. Higher camera interest increases the chance of the unit being focused.

## Syntax

```sqf
entity setCameraInterest interest
```

**Parameters:**

- `entity`: [Object](../topics/Object.md)
- `interest`: [Number](../topics/Number.md)

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

## Examples

### Example 1

```sqf
_soldier setCameraInterest 50;
```

## See also

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

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