Skip to content
ASArcaneMP Scripting APIScripting reference
Global objectClient APIGenerated

CreatorPreview

const CreatorPreview: object

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

Framing and posing for a creator preview. Independent of which UI is driving the session.

freeze(frozen?): void

Pauses the avatar’s animation so it holds still. Does NOT stop a playIdle ability – that is a separate lane.

boolean

Defaults to true.

void

playIdle(abilityClassPath, channel?): boolean

Holds a posing idle on the live avatar via the game’s own ability system – local only, not replicated. Returns whether it was QUEUED. The channel is released automatically when the session ends. Requires an active session.

string

An Able ability CLASS path ending _C.

string

“FullBody” (default) or “PartialBody”.

boolean

restoreCamera(): void

Hands the view back to the normal player camera.

void

rotate(deltaYaw): void

Turns the live avatar for inspection. Relative, so call it per input frame.

number

Degrees to turn the avatar by, relative.

void

setCamera(frame): void

Points a spawned camera at the player and makes it the view target. Call restoreCamera() when done.

Front-view framing on the live avatar; shift nudges it laterally so a side panel doesn’t cover it.

number

number

number

number

number

void