BaseLayerMixin.moveAfter

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

BaseLayerMixin.moveAfter() method

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

Signature:

moveAfter(sibling: Layer): void;

Parameters

Parameter

Type

Description

sibling

Layer

The layer to place this layer after. Must be in the same scene.

Returns:

void

Remarks

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

Example

// Place logo below the header layer
logo.moveAfter(header);
Last updated: October 8, 2026 at 10:45 AMEdit this page