Move Layer

Moves a layer or layer folder to a target index in the uncommitted engine.

Syntax

Actions.moveLayer(id, index)

Parameters

id: number

The id of the layer to move.

index: number

The index in the layer array to move the layer to. An index of 1 is right above the base layer.