Transform Layer
ps_transformApply move, scale, rotate, flip, or fit-to-document transforms to the active or named layer in Adobe Photoshop.
Instructions
Applies a transform to the active (or named) layer. Supports move, scale, rotate, flip-horizontal, flip-vertical, and fit-to-document — all in one tool. Supply only the parameters relevant to your action.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | The transform to apply | |
| layerName | No | Target layer — defaults to active layer | |
| x | No | Horizontal delta in pixels (for move) | |
| y | No | Vertical delta in pixels (for move) | |
| angle | No | Rotation angle in degrees (for rotate) | |
| scalePercent | No | Scale percentage — 100 = no change (for scale) | |
| anchorPosition | No | Anchor point for scale and rotate transforms |