MoveOptions

Options for moving a node in the hierarchy.

MoveOptions type

Options for moving a node in the hierarchy.

Signature:

type MoveOptions<T = Layer | Shape> =
  | {
      to: Parent<T>;
    }
  | {
      before: Sibling<T>;
    }
  | {
      after: Sibling<T>;
    };

References: Layer, Shape, Parent, Sibling

Last updated: August 5, 2026 at 11:47 AMEdit this page