Skip to content
ASArcaneMP Scripting APIScripting reference
Data shapeClient APIGenerated

CameraState

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

Immutable snapshot of the local camera controller.

readonly active: boolean

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

Whether the custom camera owns the current view target.


readonly lens: CameraLens

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

Current custom-camera lens settings.


readonly pathIndex: number

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

Current path keyframe index.


readonly pathSize: number

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

Number of keyframes in the current path.


readonly paused: boolean

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

Whether camera motion is paused.


readonly playing: boolean

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

Whether a tween, path, or orbit is running.


readonly pose: CameraPose

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

Current custom-camera pose.