Skip to content

animClipFramePivot

animClipFramePivot(data, frame): AnimClipPivotData | null

Defined in: animation/AnimClipLoader.ts:173

The anchor a frame actually renders with: its own override, else the clip default, else centered — or null when the clip authors no anchors, which is the signal to leave Sprite.pivot exactly as the entity set it.

The one place this resolution lives: the runtime bake, the edit-mode viewport projection, and the editor’s drag handle all read it here.

AnimClipAssetData

AnimClipFrameData

AnimClipPivotData | null