Skip to content

textmode.js / layering / TextmodeLayerManager / move

Method: move()

ts
move(layer, newIndex): void;

Move a user-created layer to a new index in the stack.

Parameters

ParameterTypeDescription
layerTextmodeLayerLayer to move.
newIndexnumberTarget index.

Returns

void

Example