LayerMixin.transformParent

If this layer has a transformParent, it inherits the transform of that parent layer.

LayerMixin.transformParent property

If this layer has a transformParent, it inherits the transform of that parent layer.

Signature:

transformParent?: TransformableLayer | undefined;

Remarks

To parent this layer to another layer, assign that layer. To clear the transform parent, assign undefined.

Example

const controller = scene.createNullLayer({ name: "Controller" });

shapeLayer.transformParent = controller;
shapeLayer.transformParent = undefined;
Last updated: October 8, 2026 at 10:45 AMEdit this page