A clipping mask is a group of layers to which a mask is applied. The bottommost layer, or base layer, defines the visible boundaries of the entire group. For example, suppose you have a shape in the base layer, a photograph in the layer above it, and text in the topmost layer. If the photograph and text appear only through the shape outline in the base layer, they also take on the opacity of the base layer.
You can group only successive layers. The name of the base layer in the group is underlined, and the thumbnails for the overlying layers are indented. Additionally, the overlying layers display the clipping mask icon.
You can link the layers in a clipping mask so that they move together.
Hold down Alt (Option in Mac OS), position the pointer over the line dividing two layers in the Layers panel (the pointer changes to two overlapping circles), and then click.
In the Layers panel, select the top layer of a pair of layers you want to group, and choose Layer > Create Clipping Mask.
The layers in the clipping mask have the opacity and mode attributes of the bottommost base layer in the group.
To change the stacking order of the clipping mask relative to other layers in the image, select all layers in the group. Then drag the group’s base layer up or down in the Layers panel. (Dragging a layer without selecting all the layers in the group removes that layer from the group.)
Ungrouping the base layer from the layer above it ungroups all layers in the clipping mask.
Hold down Alt (Option in Mac OS), position the pointer over the line separating two grouped layers in the Layers panel (the pointer changes to two overlapping circles), and click.
In the Layers panel, select a layer in the clipping mask, and choose Layer > Release Clipping Mask. This command removes the selected layer and any layers above it from the clipping mask.
In the Layers panel, select any layer in the group except the base layer. Either drag the layer below the base layer, or drag it between two ungrouped layers in the image.