Sub topic 1
Layer order: why position in the stack matters
Photoshop draws layers from the bottom of the Layers panel to the top, so a layer higher in the stack covers the layers beneath it. Position controls what you see, and it also controls how clipping masks and layer styles behave. This chapter covers the stack order that clipping masks depend on, then compares clipping masks with layer masks.
Prerequisites
You should be comfortable with the Layers panel, creating and reordering layers, and pixel, shape, and type layers. You should also understand opacity and blend modes.
Layer order and clipping
A clipping mask only works with layers that sit next to each other in the stack. The clipped layer must sit directly above its base layer. Any layer between them breaks the relationship. Move layers with drag-and-drop in the Layers panel, or use Layer > Arrange to change the order.
Creating and releasing a clipping mask
To create a clipping mask, place the layer you want to clip directly above the base layer, then use one of these methods:
- Choose Layer > Create Clipping Mask.
- Press Ctrl+Alt+G (Windows) or Command+Option+G (macOS).
- Alt-click (Windows) or Option-click (macOS) the line between the two layers in the Layers panel.
A clipped layer appears indented, with a small arrow pointing to its base layer. To release the mask, use Layer > Release Clipping Mask, the same shortcut, or Alt-click or Option-click the line again.
How the base layer controls clipped layers
The base layer's pixels define what shows through. Clipped layers appear only where the base layer has visible pixels. Where the base layer is transparent, the clipped content is hidden. Partly transparent base pixels show the clipped content partly.
The base layer's own content still appears normally. Only the clipped layers are limited by its shape.
Clipping mask or layer mask: choosing the right one
Both tools hide part of a layer, but they suit different jobs:
| Task | Better choice |
|---|---|
| Fit a photo inside a shape or text | Clipping mask |
| Hide part of one layer by painting | Layer mask |
| Apply one adjustment to a single layer | Clipping mask |
| Keep a shape you may move or resize | Clipping mask |
A clipping mask takes its shape from another layer's pixels. A layer mask is a grayscale channel attached to one layer. Black hides, white reveals, and gray partly hides. Use a clipping mask when the shape already exists as a layer, and use a layer mask when you need to paint the hidden area.
- Open a photo and place a shape layer above it.
- Clip the photo to the shape.
- Release the clip and compare the result with a layer mask made from the same shape.
Exercise
Exercise
A layer sits two positions above its base layer, with an unclipped layer between them. Will clipping the top layer to the base layer work? How do you fix it?
Show answer
No. A clipped layer must sit directly above its base layer. Drag the top layer down so it is adjacent to the base layer, or move the middle layer out of the way, then create the clipping mask.