Layer.moveBefore

Function/Meaning
Move in front of the specified layer
Type
Method of Layer class
Syntax
moveBefore(layer)
Arguments
layer Moves in front of the layer specified here.
Only sibling layers (layers with the same parent) can be specified.
Return Value
None (void)
Description
Moves the layer in front of the specified layer in the stacking order.
This method sets the Layer.absoluteOrderMode property to false.