Sub topic 2
Selecting one or many layers
This chapter assumes you can open a document, find panels, and use the Move tool. You should also understand that pixel layers hold raster pixels and shape layers hold vector paths. Photoshop draws the Layers panel from bottom to top, so a layer higher in the list covers the layers below it where both have content.
Selecting one or many layers
Click a layer name in the Layers panel to select it. To add non-adjacent layers, hold Ctrl (Windows) or Cmd (macOS) and click each name. To select a continuous range, click the first layer, then hold Shift and click the last one.
With Auto-Select turned on in the Move tool's options bar, clicking an object on the canvas selects the layer that contains it.
Naming and color-labeling layers
Double-click a layer name to rename it. Use names that describe the content, such as "Sky" or "Logo shadow." Right-click a layer to assign a color label. Colors make groups of related layers easy to spot in a long list.
> Hmm
Why stacking order matters
Photoshop composites layers from the bottom of the list upward. If a top layer has opaque pixels, it hides the pixels beneath it. Changing the order therefore changes the final image, not just the list.
Reordering layers by drag and by shortcut
Drag a layer name up or down. A line shows where the layer will land when you release the mouse.
Shortcuts are faster for repeated moves:
- Ctrl+] (Cmd+] on macOS): move the selected layer up one position.
- Ctrl+[ (Cmd+[ on macOS): move it down one position.
- Shift+Ctrl+] (Shift+Cmd+] on macOS): bring it to the top.
- Shift+Ctrl+[ (Shift+Cmd+[ on macOS): send it to the bottom.
You can also move a layer with a script:
// ExtendScript (.jsx): move the active layer to the top of the stack
var doc = app.activeDocument;
var layer = doc.activeLayer;
layer.move(doc.layers[0], ElementPlacement.PLACEBEFORE);Hiding and locking layers
Click the eye icon beside a layer to hide it. Lock icons in the Layers panel protect a layer from edits: lock transparent pixels, lock image pixels, lock position, or lock all with the padlock icon.
// ExtendScript (.jsx): create a hidden, fully locked layer
var doc = app.activeDocument;
var sky = doc.artLayers.add();
sky.name = "Sky";
sky.visible = false;
sky.allLocked = true;Exercise
You select three layers with Shift-click, then press Ctrl+] (Cmd+] on macOS). What happens to the selection, and why might the result surprise you?
Show answer
The selected layers do not all move as a unit. Shortcut moves act on the active layer only, so the other two stay in place. Use the Layers panel with the layers linked or grouped if you need them to move together.