Skip to content
KCKingdoms Connected Scripting APIScripting guides and API
Data shapeClient APIGenerated

NoClipState

Defined in: client/api.d.ts:2157

Where the free camera is and what it is doing.

aspectRatio: number

Defined in: client/api.d.ts:2216

Width over height, as the renderer reports it.


forward: Vector3

Defined in: client/api.d.ts:2176

The unit direction it is looking along.


fov: number

Defined in: client/api.d.ts:2206

The vertical field of view in degrees the view was asked for.


input: boolean

Defined in: client/api.d.ts:2166

Whether this machine’s own keyboard and mouse are flying the camera.


mode: "body" | "camera"

Defined in: client/api.d.ts:2161

Whether the player’s body is carried through the world or left behind.


pitch: number

Defined in: client/api.d.ts:2196

Its elevation in degrees, clamped to -89..89. Positive looks up.


position: Vector3

Defined in: client/api.d.ts:2171

Where the camera is, in world-space metres.


renderedFov: number

Defined in: client/api.d.ts:2211

The vertical field of view the renderer settled on, which Hor+ adaptation and the window’s aspect both move.


right: Vector3

Defined in: client/api.d.ts:2181

The unit direction to its right, level with the horizon.


speed: number

Defined in: client/api.d.ts:2201

Metres a second at rest, before boost or crawl scales it.


up: Vector3

Defined in: client/api.d.ts:2186

The unit direction out of the top of the frame.


yaw: number

Defined in: client/api.d.ts:2191

Its heading in degrees, wrapped to -180..180. Zero faces +Y and a rising yaw swings left.