Animation components
Every field below is derived from the engine’s own component registry — the same one the editor’s Details panel reads — so the types and defaults here are the values you get when you add the component, and they cannot drift from the code. The prose that explains how to use each one lives in the guides linked per entry.
Animator
Runs an animator controller — states, transitions and blend trees — over the entity.
Explained in animation/overview.
| Field | Type | Default | Notes |
|---|---|---|---|
controller | Asset<animatorcontroller> | none | |
avatar | Asset<avatar> | none | |
currentState | string | empty | |
layerStates | array | empty | |
enabled | boolean | true |
AnimatorRootMotion
Publishes how far the active animation asks the character to move, for gameplay to hand to a character controller — a request, never a result.
Explained in animation/overview.
| Field | Type | Default | Notes |
|---|---|---|---|
enabled | boolean | true | |
active | boolean | false | Read-only — the engine computes it. |
deltaPosition | Vec3 | (0, 0, 0) | Read-only — the engine computes it. |
deltaRotation | Quat | (0, 0, 0, 1) | Read-only — the engine computes it. |
deltaTime | number | 0 | Read-only — the engine computes it. |
AnimatorSpritePlaybacktransient
Tracks the sprite clip requested by the active animator state and its playback position when the entity has no Sprite Animator. The state machine recreates this component at runtime.
Explained in animation/overview.
| Field | Type | Default | Notes |
|---|---|---|---|
player | unknown | — | |
requested | boolean | false | |
restart | boolean | false | |
speed | number | 1 | |
loopOverride | unknown | — |
Bone2D
A bone of a 2D rig: an entity whose Transform is its joint, reaching a length along its own +x.
Explained in animation/rig-2d.
| Field | Type | Default | Notes |
|---|---|---|---|
length | number | 0 | How far the bone reaches along its +x. An IK chain ending here reaches for the target with this end. Range ≥ 0. |
BoneConstraint2D
Limits a bone's rotation, or makes it copy another entity's rotation or position, or look at it.
Explained in animation/rig-2d.
| Field | Type | Default | Notes |
|---|---|---|---|
kind | enum | Limit Rotation | One of Limit Rotation, Copy Rotation, Copy Position, Look At. |
source | Entity | none | The entity copied or looked at. Limit Rotation reads none. |
min | number | -45 | |
max | number | 45 | |
offset | number | 0 | |
weight | number | 1 | Range 0–1, step 0.01. |
enabled | boolean | true |
DragonBonesAnimation
A DragonBones armature: its skeleton and atlas assets, armature choice and playback state.
Explained in animation/dragonbones.
| Field | Type | Default | Notes |
|---|---|---|---|
skeletonPath | string | empty | |
atlasPath | string | empty | |
armature | enum (dragonbonesArmatures) | empty | |
animation | enum (dragonbonesAnimations) | empty | |
timeScale | number | 1 | Range ≥ 0. |
loop | boolean | true | |
playing | boolean | true | |
fadeInTime | number | 0 | Range ≥ 0, step 0.05. |
flipX | boolean | false | |
flipY | boolean | false | |
color | Color | #ffffff | |
layer | enum (sortingLayers) | 0 | Range step 1. |
skeletonScale | number | 1 | Range ≥ 0. |
material | Asset<material> | none | |
enabled | boolean | true |
GripHolder
Holds an object in its GripProfile's grip: the arms bent to its anchors, the fingers posed, in one order that cannot loop.
Explained in animation/grip-pose.
| Field | Type | Default | Notes |
|---|---|---|---|
held | Entity | none | What is held: an entity with a GripProfile. |
mainHand | enum | Right | The hand that leads. One of Right, Left. |
placement | enum | Hand | Hand: the object rides the leading hand as the clip moves it. Object: the game places it (aiming) and the leading arm is brought to it. One of Hand, Object. |
weight | number | 1 | How much of the hold applies over the clip. Range 0–1, step 0.01. |
supportWeight | number | 1 | How much of the supporting hand's hold applies, under the weight. Range 0–1, step 0.01. |
blendSeconds | number | 0.2 | About how long taking hold, letting go, or changing what is held takes. Range ≥ 0, step 0.01. |
rightHand | string | empty | The right hand joint, by path from this entity. Empty finds it by name. |
leftHand | string | empty | The left hand joint, by path from this entity. Empty finds it by name. |
GripPose
Holds a rig's hands in a named pose, a pistol grip, a handle, a cup, that fits any rig with fingers.
Explained in animation/grip-pose.
| Field | Type | Default | Notes |
|---|---|---|---|
rightPose | string | empty | open, relaxed, fist, pistol, support, handle, pinch, cup, or one the game registers. Empty leaves the hand alone. |
leftPose | string | empty | open, relaxed, fist, pistol, support, handle, pinch, cup, or one the game registers. Empty leaves the hand alone. |
rightWeight | number | 1 | How much of the pose applies, over what a clip is doing with the fingers. Range 0–1, step 0.01. |
leftWeight | number | 1 | How much of the pose applies, over what a clip is doing with the fingers. Range 0–1, step 0.01. |
rightTrigger | number | 0 | How far the index finger has gone from resting to pressing, in a pose that has both. Range 0–1, step 0.01. |
leftTrigger | number | 0 | How far the index finger has gone from resting to pressing, in a pose that has both. Range 0–1, step 0.01. |
blendSeconds | number | 0.15 | About how long a change of pose takes. Range ≥ 0, step 0.01. |
rightHand | string | empty | The hand joint, by path from this entity. Empty looks for it by name. |
leftHand | string | empty | The hand joint, by path from this entity. Empty looks for it by name. |
GripProfile
Where on an object each palm sits, and how its fingers are held there.
Explained in animation/grip-pose.
| Field | Type | Default | Notes |
|---|---|---|---|
mainAnchor | Entity | none | Where the leading palm sits: an entity under this one. Its +Z is the way the fingers point, +Y the way the palm faces. |
supportAnchor | Entity | none | Where the supporting palm sits. Empty holds this in one hand. |
mainPose | string | "handle" | The leading hand's fingers: a captured finger pose, or a grip pose (pistol, handle, support, ...). |
supportPose | string | "support" | The supporting hand's fingers. |
mainFingers | string | empty | The leading hand's fingers joint by joint, as JSON. Written by the grip editor; over mainPose where set. |
supportFingers | string | empty | The supporting hand's fingers joint by joint, as JSON. |
hand | enum | Right | The hand the anchors were placed for. Held with the other leading, they are mirrored. One of Right, Left. |
mirror | enum | YZ (X) | The object's own plane that mirrors the anchors to the other hand. One of YZ (X), XZ (Y), XY (Z). |
wrap | boolean | true | Close the fingers onto the GripSurface shapes on this object and under it, each stopping where it meets one. The pose says how far they may close. |
GripSurface
A cylinder, capsule, sphere or box on a held object that its holder's fingers close onto and stop at.
Explained in animation/grip-pose.
| Field | Type | Default | Notes |
|---|---|---|---|
shape | enum | Cylinder | What the fingers close onto. One of Cylinder, Capsule, Sphere, Box. |
direction | enum | Y | The axis a cylinder or capsule runs along. One of X, Y, Z. |
center | Vec3 | (0, 0, 0) | Its middle, in this entity's own units. |
radius | number | 0.5 | A cylinder's, capsule's or sphere's radius. Range ≥ 0, step 0.001. |
height | number | 1 | A cylinder's or capsule's whole length. Range ≥ 0, step 0.001. |
size | Vec3 | (1, 1, 1) | A box's size. |
IK2D
Bends the last bones of a limb after the animation has played, so the end of this bone reaches a target.
Explained in animation/rig-2d.
| Field | Type | Default | Notes |
|---|---|---|---|
target | Entity | none | The entity the end of this bone reaches for. |
chainLength | number | 2 | How many bones bend, counting this one. Two bones solve exactly and keep their bend; more take an iterative solve. Range 1–32, step 1. |
bend | number | 1 | Two bones: the way the middle joint bends, 1 counter-clockwise or -1. Range -1–1, step 2. |
weight | number | 1 | How far from the animated pose towards the solve. Range 0–1, step 0.01. |
matchTargetRotation | boolean | false | Also turn this bone to the target's rotation. |
enabled | boolean | true |
ScreenFade
Fades the screen to a colour over everything, keyed by a timeline or set by a script.
Explained in animation/timeline.
| Field | Type | Default | Notes |
|---|---|---|---|
amount | number | 0 | How far the screen is faded: 0 clear, 1 the colour. Key it on a timeline to fade. Range 0–1, step 0.01. |
color | Color | #000000 | The colour the screen fades to. |
SpineAnimation
A Spine skeleton: its skeleton and atlas assets, current animation, skin and mix settings.
Explained in animation/spine.
| Field | Type | Default | Notes |
|---|---|---|---|
skeletonPath | string | empty | |
atlasPath | string | empty | |
skin | enum (spineSkins) | empty | |
animation | enum (spineAnimations) | empty | |
timeScale | number | 1 | Range ≥ 0. |
loop | boolean | true | |
playing | boolean | true | |
flipX | boolean | false | |
flipY | boolean | false | |
color | Color | #ffffff | |
layer | enum (sortingLayers) | 0 | Range step 1. |
skeletonScale | number | 1 | Range ≥ 0. |
material | Asset<material> | none | |
enabled | boolean | true |
SpringBone
Makes every bone below this root a spring: the chain trails the animated pose by inertia, falls with gravity and is pulled back toward it (hair, tails, cords).
Explained in animation/spring-bones.
| Field | Type | Default | Notes |
|---|---|---|---|
enabled | boolean | true | Off leaves the chain exactly as the animation poses it. |
stiffness | number | 0.1 | How hard each bone is pulled back toward its animated pose. 0 hangs free, 1 follows the animation exactly. Range 0–1, step 0.01. |
drag | number | 0.5 | How much of its speed a bone loses each frame. Higher settles sooner. Range 0–1, step 0.01. |
gravity | Vec3 | (0, -980, 0) | Gravity on the chain, in world units a second squared (world y is up). |
wind | Vec3 | (0, 0, 0) | A steady wind on the chain, in world units a second squared. Zero is still air. |
windGust | number | 0 | How far gusts swing the wind's strength. 0 is a steady wind, 1 takes it from calm to twice its strength. Range 0–1, step 0.01. |
windFrequency | number | 0.5 | Gusts a second. Range ≥ 0, step 0.05. |
endLength | number | 0 | Length of the tip past each end bone, in world units. 0 leaves the end bones unsimulated. Range ≥ 0, step 0.1. |
radius | number | 0 | Thickness of the strand, in world units, kept clear of the colliders. Range ≥ 0, step 0.1. |
weight | number | 1 | How much of the simulation is used. 0 is the animation alone. Range 0–1, step 0.01. |
colliders | Entity | | Entities with a SpringBoneCollider that this chain is kept out of (the head, the shoulders). |
SpringBoneCollider
A sphere or capsule that the spring-bone chains naming it are kept out of.
Explained in animation/spring-bones.
| Field | Type | Default | Notes |
|---|---|---|---|
shape | enum | Sphere | Sphere, or a capsule along the entity's own Y axis. One of Sphere, Capsule. |
radius | number | 10 | Radius in world units, before the entity's scale. Range ≥ 0, step 0.1. |
height | number | 20 | A capsule's length between the centres of its end spheres, in world units before scale. Range ≥ 0, step 0.1. |
offset | Vec3 | (0, 0, 0) | Where the centre of the shape is, in the entity's own space. |
SpriteAnimator
Plays a flipbook clip by swapping the sprite frame, with speed, looping and frame events.
Explained in animation/overview.
| Field | Type | Default | Notes |
|---|---|---|---|
clip | Asset<anim-clip> | none | |
speed | number | 1 | |
playing | boolean | true | |
loop | boolean | true | |
enabled | boolean | true | |
currentFrame | number | 0 | |
frameTimer | number | 0 | |
finished | boolean | false |
TimeDilation
Slows or speeds the game, multiplying its own time scale: a timeline’s slow-motion beat.
Explained in animation/timeline.
| Field | Type | Default | Notes |
|---|---|---|---|
scale | number | 1 | How fast the game runs while this is on: 0.25 is slow motion. Key it on a timeline for a slow-motion beat. Range 0–4, step 0.05. |
TimelinePlayer
Plays a timeline asset — keyframed tracks across many entities — with wrap modes and playback control.
Explained in animation/timeline.
| Field | Type | Default | Notes |
|---|---|---|---|
timeline | Asset<timeline> | none | |
playing | boolean | false | |
speed | number | 1 | |
wrapMode | string | empty | Override the clip's own wrap mode: once, loop or pingPong. Empty uses what the clip declares. |
finished | boolean | false | Clip completed (runtime, read-only). Raise Playing to replay. |
bindingNames | array | empty | |
bindings | Entity | | What each of the timeline’s bound tracks (a path starting @Name) animates on this player. |
rangeStart | number | 0 | Where this player starts in the timeline. Range ≥ 0, step 0.05. |
rangeEnd | number | 0 | Where it ends, or loops back from; 0 is the timeline’s end. Range ≥ 0, step 0.05. |
unscaledTime | boolean | false | Run on real time, on while the game is paused (Time.scale 0). |