Select a single layer in the Layers panel.
- What's new
-
Get started
- Technical requirements and installation
- Learn the basics
- Set up toolbars and panels
- Settings and preferences
- Generative AI in Photoshop
- Create, open, and import images
-
Create and manage layers
- Get started with layers
- Transform and manipulate layers
- Color adjustment and fill layers
-
Apply layer effects
- Add layer styles
- Work with preset styles
- Layer style effects and options overview
- Manage preset styles
- Display or hide layer styles
- Copy and paste layer styles
- Import preset style libraries
- Manage contours
- Set a global lighting angle for all layers
- Scale layer effects
- Remove layer effects
- Convert layer styles to image layers
- Smart objects
- Create layer compositions
- Layout and design tools
-
Crop, resize, and transform
- Resize and adjust resolution
- Crop and straighten
- Transform, manipulate, and reshape
-
Make selections
- Get started with selections
- Automatic and color-based selections
- Freehand selections
- Refine and modify selections
- Create masks
-
Repair and retouch
- Remove objects and fill space
- Heal and clone
- Adjust light and tone
- Clean and restore images
-
Adjust color
- Color profiles
- Choose colors
- Color modes
- Color corrections
- Selective color adjustments
- Color effects and techniques
-
Apply painting techniques
- Fill objects, selections, and layers
- Create and fill with patterns
-
Brushes and presets
- Get started with brush presets
- Display the Brush Settings panel and brush options
- Create a brush tip from an image
- Create a brush and set painting options
- Select a preset brush
- Create a new preset brush
- Create preset brush groups
- Rename preset brushes
- Delete preset brushes
- Import brushes and brush packs
- Draw shapes and paths
- Text and typography
- Effects and filters
- Use grids and measurement guides
- Add video and animation
-
Automate tasks
- Create and record actions
- Process a batch of files
-
Save and export
- Save files
- Export files to different formats
- Metadata, CSS, and content credentials
-
Share and collaborate
- Collaborate and edit
- App integrations
- Troubleshoot
Create layer masks for all detected objects in a layer
Learn how to use Mask All Objects to automatically generate masks for every detected object in a layer and apply targeted edits in Adobe Photoshop.
Create layer masks for all detected objects
Select Layer > Mask All Objects.
Add an adjustment or filter to a masked object
In the Layers panel, locate the layer mask group for the object you want to edit.
Select the layer mask group.
Apply your chosen adjustment or filter. For example, select Layer > New Adjustment Layer > Hue/Saturation, then adjust the color slider to change the object’s color.
To view what is being masked on the canvas:
Cmd-click (macOS) or Ctrl-click (Windows) the layer mask thumbnail to view the selection as marching ants.
Select the Move tool, turn on Show Transform Controls in the Options bar, then select the layer mask to view the masked object.
Turn on Smart Guides by selecting View > Show > Smart Guides, select a layer, hold Cmd (macOS) or Ctrl (Windows), and the mask will be highlighted on canvas.
Remove empty layers
Select File > Scripts > Delete All Empty Layers after completing your masking edits.