ShapeMixin.parent

The parent of this shape.

ShapeMixin.parent property

The parent of this shape.

Signature:

readonly parent?: Parent<Shape> | undefined;

Remarks

Returns: - A ShapeLayer if this shape sits directly on a shape layer.

  • A Group if this shape is nested inside a group.

  • undefined if the shape is detached.

Last updated: November 10, 2026 at 8:00 PMEdit this page