> For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://scripting.breeze.rip/newgen/api/net/minecraft/client/camera.md).

# Camera

The view the world is rendered from.

### Properties

#### entity

> `readonly` **entity**: [`Entity`](/newgen/api/net/minecraft/world/entity/entity.md)

The entity the camera follows, or null.

***

#### fov

> `readonly` **fov**: `number`

The vertical field of view in degrees, including effects such as sprinting.

***

#### isDetached

> `readonly` **isDetached**: `boolean`

Whether the camera is away from the entity, as in third person or freecam.

***

#### position

> `readonly` **position**: [`Vec3`](/newgen/api/net/minecraft/world/phys/vec3.md)

The camera position in world coordinates.

***

#### xRot

> `readonly` **xRot**: `number`

The camera pitch in degrees, as rendered.

***

#### yRot

> `readonly` **yRot**: `number`

The camera yaw in degrees, as rendered.
