Use layer masks
Layer masks are a convenient way to hide portions of your layer without actually erasing the pixels. Photo by Howard Lake
If you want to hide portions of your layer without actually erasing the pixels, layer masks are your new best friend. They’re so easy and convenient you’ll wonder how you did without them in the first place.
The logic behind layer masks is simple — anything 100% white will reveal 100% of your layer — anything in between will show pixels with varying degrees of opacity.
Just try it — you’ll be happy you did.
To add a layer mask to a layer:
- Select part of the layer you want to keep or hide
- Go to Layer > Layer Mask, then select Reveal Selection or Hide selection
- You should see a layer mask appear next to the layer thumbnail
Hint: If you want to reveal or hide an entire layer with a mask, you don’t have to make a selection. Simply select a layer and go to Layer > Layer Mask, then pick Reveal all or Hide all.
To edit a layer mask:
- Click on the layer mask thumbnail
- Start editing using any Photoshop tools you like (brush, eraser, effects, etc.)
To remove a layer mask:
- Select the layer from the Layers panel
- Go to Layer > Layer Mask > Delete
Use clipping masks
In this example, text HELLO WORLD is acting as a clipping mask for the Earth layer.
This tip is very similar to the layer mask mentioned above but somewhat different and more flexible.
Layer clipping masks allow you to use the transparency of one layer as a mask for one or more layers above it. It’s actually easier to do than to explain, so fire up Photoshop and let’s give this a try:
- Position two or more layers on top of each other. Place the layer you want to use as a clipping mask on the bottom
- Select top layer, then go to Layer > Create Clipping Mask (or hit Alt + Ctrl + G on Win / Option + Ctrl + G on Mac)
- Your layer will become masked by the layer below it
Quickly hide all layers but the selected one
If you’ve been using Photoshop for some time, you probably know you can show or hide a layer by clicking the eye icon in the Layers palette.
However, did you know you can instantly hide all other layers except the selected layer if you hold Alt (Win) / Option (Mac) and click the eye icon?
Very handy for when you want to declutter your canvas so you can focus on details.