ps_selection
Creates and modifies Photoshop selections—including all, none, invert, shapes, AI subject, sky, and transparency—then fills, deletes, masks, or copies selected content to a layer.
Instructions
Photoshop: selections — all, none, invert, rect [x,y,w,h], ellipse [x,y,w,h], subject (AI Select Subject), sky, layerTransparency, feather {value}, expand {value}, contract {value}, smooth {value}; then optional fill hex, delete, or mask (adds a layer mask from the selection).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rect | No | ||
| then | No | ||
| color | No | ||
| layer | No | Layer name (searched in groups too); omit for the active layer. | |
| value | No | ||
| action | Yes | ||
| document | No | Document name; omit for the active document. |