As seen before, working directly with object stacks can get confusing. Therefore, the ideal way is to use layers to determine how the objects are actually stacked upon each other.
Layers can be used to create better organized objects. You can access layers from the Layers panel.
Creating a New Layer
Clicking theĀ LayersĀ panel will reveal the layers in the document. You can create a new layer by clicking theĀ Create New LayerĀ at the bottom on theĀ LayersĀ panel, which will directly create a new layer or you can also hold down theĀ Alt key on WindowsĀ orĀ Option key on the MacĀ and click onĀ Create New LayerĀ to get theĀ New LayerĀ dialog box.
You will notice that each layer is color coded and has an active square beside its name. That square is an indication that elements of that layer are being worked on currently. You can click and drag the square to another layer, which will reveal items belonging to that layer. In the following example, clicking and dragging the blue square from the Background layer to the Main layer, changes the square to red and highlights the elements in the document belonging to the Main layer.
Clicking the eyeball icon in front of the layer name will hide or reveal the layer. Clicking the box just beside the eyeball will lock the layer and prevent you from making edits to it.
Sometimes, you might want to see the layer on screen but need not have to print the objects in that layer. To do this, double-click on the layer in which the object is present to open theĀ New LayerĀ dialog box weāve seen earlier. Then remove the checkmark beside theĀ Print LayerĀ option. This will show the layer on screen but will not print it on paper or when exported to PDF.
Layer Objects
Every layer is composed of objects which can be rearranged within the layer or even between the layers. Each object is given a name within a layer.
For example, collapsing the Background layer will reveal the objects within it. The name <rectangle> means the rectangular frame. Images if any, will be shown by their file names. If there is some text within a text frame, the starting words of the text will be shown so as to easily identify it.
It is possible to rearrange these objects by simply clicking and dragging the object (for multiple object select by holding Ctrl on Windows or Command on Mac) into the desired layer.
Sometimes, in a complex document, it can be difficult to keep track of what each <rectangle> actually means. You can simply rename the object name by clicking once, pausing for a second and clicking again. This will enable you to rename the object to something more recognizable.