MotionScript

@motion-script/core


@motion-script/core / ChildPositioning

Type Alias: ChildPositioning

ChildPositioning = "relative" | "absolute"

Defined in: attributes/layout/positioning.ts:26

The positioning a container hands its children — Node.childPositioning.

  • 'relative' (default) — children are laid out by this node: measured against its content box and placed by its flow pass.
  • 'absolute' — children are pinned to the stage. This node still owns them (they render inside its scope, so its opacity, clip, blend, effects and rotation/scale still apply), but it no longer positions or sizes them.