Arrange
The arrange method works in the same way as Illustrator arrange method, sending artwork forwards, backwards, to the front and the back of the artwork's layer.
It can also be used for layers, sending the layer forwards, backwards, to the front and the back.
For more controlled manipulation of the artwork and layer z-order, see the zOrder method.
See the Arrange Tool for the visual editor.

Arrange Options

The Original Layers Panel

tagSearch: green
send: front (of layer)

layerName: Layer 2
send: back
Method editor

Arrange Properties
| Property | Description |
|---|---|
arrange | Where to bring or send the artwork or layer. Valid Values: forward bringForward, backward sendBackward, front toFront bringToFront, back toBack sendToBack |
layerName | The case sensitive name of the layer to be processed. Use either layerName or layerNumber and not both. Example Values: Layer 1, Darty Logo |
layerNumber | The index of the layer to be processed. Use either layerName or layerNumber and not both. Example Values: 1, 4 |
skip | skip is a generic property for all methods, when set to true, the method will be skipped. See * and Skip for details. Valid Values: true or false |
tagSearch | The tag search of the artwork to arrange. Example Values: blueDot |
Sample Document Screenshots

Original Document Art

The Original Layers Panel

tagSearch: star
send: forwards

tagSearch: star
send: backwards

tagSearch: star
send: front (of Layer)

tagSearch: star
send: back (of Layer)

layerNumber: 3
send: forwards

layerName: "Layer 5"
send: backards

layerNumber: 3
send: front (of Document's layers or parent Layer)

layerNumber: 3
send: back (of Document's layers or parent Layer)
Sample Arrange Spreadsheet
| star | ||
| arrange | ||
| send | layerName | layerNumber |
| forwards | ||
| backwards | ||
| front | ||
| back | ||
| forwards | 3 | |
| backwards | Layer 5 | |
| front | 3 | |
| back | 3 |