> For the complete documentation index, see [llms.txt](https://xeavin.gitbook.io/the-insurgents-handbook/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xeavin.gitbook.io/the-insurgents-handbook/scripts/vm-call-targets/reset-behind-camera.md).

# Reset Behind Camera

### Signature

```c
void resetbehindcamera(float yaw, float pitch); //id:0x0288
```

### Description

Sets the camera yaw and pitch.

Its usually used after a cutscene ends or a new location is entered.

### Arguments

#### Yaw

Sets the camera yaw to: $$f(x) = x + π$$

The value range is -π -> π and the result is capped between 0 and 2π.

#### Pitch

Sets the camera pitch to: $$f(x) = x / 2 + 0.4830000103$$

The value range is -1 -> 1 and the result is capped between 0 and 1.
