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: October 8, 2026 at 10:45 AMEdit this page