Sub topic 1
What a Selection Is and How to Clear or Reuse It
A selection is a temporary boundary that tells Photoshop which pixels you want to edit. Pixels inside the selection are available to an editing command. Pixels outside it are protected from that command. This lets you change one part of a layer without accidentally changing the rest.
Photoshop shows an active selection with a moving dashed line, often called “marching ants.” The line marks the selection boundary. It does not add a new object, copy pixels, or permanently change the layer.
Prerequisites
You should already know the basic Photoshop workspace, including the toolbar, Options bar, and Layers panel. You should also understand the difference between a layer and a background layer. This chapter assumes that you can select a layer and use Shift and Alt/Option while working.
How a selection limits an edit
A selection applies to the currently active layer. For example, suppose a photo layer contains a person and a background. If you select the person, a color adjustment affects the person while leaving the background unchanged.
The selection does not automatically identify a person or object. It only defines an area. You can create that area with a marquee tool, a lasso tool, Quick Selection, Object Selection, or another selection command.
The selection boundary and the layer content are separate:
- The boundary controls where an edit can occur.
- The layer contains the actual pixels.
- Moving the boundary does not move the pixels.
- Moving selected pixels requires a separate command or tool action.
To test this relationship, select the Rectangular Marquee tool and drag across part of an image. Then choose an editing command, such as Image > Adjustments > Brightness/Contrast. Photoshop previews or applies the change only within the selected area.
If the wrong layer is active, the selection may appear correct but the edit will affect a different part of the document. Check the Layers panel before making an important change.
Creating and inspecting a basic selection
For a simple rectangular area, choose the Rectangular Marquee tool. Drag from one corner to the opposite corner. Hold Shift while dragging if you need a square. Hold Alt on Windows or Option on macOS to drag outward from the starting point.
The Elliptical Marquee tool works similarly for circular or oval areas. Hold Shift to constrain the shape to a circle.
After creating a selection, inspect its boundary at a useful zoom level. A selection that looks accurate at 25% may include unwanted pixels when viewed at 100%. You can also move the selection boundary by placing the pointer inside it and dragging. This changes the location of the boundary, not the image pixels.
If you need to start over, create a different selection with the current tool. Photoshop replaces the existing selection when the tool is in its default New selection mode.
A selection can exist even when its boundary is difficult to see. High-contrast images, thin outlines, and zoom levels can make the marching ants hard to notice. Use the status of the selection tool and try a small edit on a duplicate layer if you are unsure.
> callout note > A selection is document-wide, but its effect depends on the active layer. Select the correct layer before editing, copying, moving, or deleting pixels.
Clearing and reusing a selection
To remove the active selection without changing the image, choose Select > Deselect. The standard shortcut is Ctrl+D on Windows or Command+D on macOS.
Deselect after finishing an edit when you want the next command to affect the whole layer. Many accidental edits happen because an old selection remains active and silently limits a later command.
To restore the most recent selection, choose Select > Reselect. The shortcut is Shift+Ctrl+D on Windows or Shift+Command+D on macOS. This command is useful when you deselect to inspect the full image and then decide that the same boundary is needed again.
You can also reverse the selected and unselected areas with Select > Inverse. The shortcut is Shift+Ctrl+I on Windows or Shift+Command+I on macOS. Inverting is useful when you selected a subject but want to edit everything around it.
For example:
- Select a logo with a selection tool.
- Deselect to inspect the complete image.
- Reselect the logo when you need to continue.
- Invert the selection if the next edit should affect the background instead.
Reselect is temporary. If you close the document or replace the selection with another one, you should not depend on it as a permanent record. Later, you will learn how to save selections for longer-term reuse.
A reliable selection check
Before editing, confirm three things:
- The intended boundary is active.
- The intended layer is selected.
- The intended area is inside the boundary.
Make a small, reversible test, such as a temporary color adjustment or a duplicate-layer edit. If the test changes the wrong area, deselect and rebuild the selection before continuing.
Exercise
You selected a subject, applied an adjustment, and then noticed that the background changed instead. What should you check first?
Show answer
Check whether the selection was inverted and whether the correct layer was active. If needed, undo the adjustment, restore or rebuild the selection, select the intended layer, and apply the adjustment again.