ShapeMixin.moveAfter

Moves this shape immediately after (i.e. visually below) the given sibling in render order.

ShapeMixin.moveAfter() method

Moves this shape immediately after (i.e. visually below) the given sibling in render order.

Signature:

moveAfter(sibling: Shape): void;

Parameters

Parameter

Type

Description

sibling

Shape

The shape to place this shape after. Must be in the same scene. If the sibling has a different parent, the shape is reparented.

Returns:

void

Remarks

Throws an error if the sibling cannot be resolved or belongs to a different scene.

Last updated: October 8, 2026 at 10:45 AMEdit this page