moveBefore()

app.project.item(index).layer(index).moveBefore(layer)

Description

Moves this layer to a position immediately before (above) the specified layer.

Parameters

layer The target layer, a layer object in the same composition.

Returns

Nothing.

Other Tags

Posted in Layer object and tagged , , , , .