Type alias TweenPositionValue

TweenPositionValue: Length | {
    relativeTo: TweenReference;
    value: Length;
}

Positional tween endpoint. Either a plain Length (interpreted against the animated node's immediate parent, like static fields) or an object form that takes dimensions from a different reference node.

With relativeTo, the value is multiplied by the reference node's dimension on the tween's axis (width for x-axis properties, height for y). Resolved once at tween start - later resizes of the reference do not retarget an in-flight tween.

Type declaration