Smart Object
ps_smart_objectConvert the active layer to a Smart Object for non-destructive editing, or place an external file as a new Smart Object layer.
Instructions
Manages Smart Objects. "convert" converts the active layer to a Smart Object for non-destructive editing. "place-file" embeds an external file as a new Smart Object layer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | "convert" active layer or "place-file" from disk | |
| filePath | No | Absolute file path to place (required for place-file) | |
| x | No | X position in pixels for placed file | |
| y | No | Y position in pixels for placed file |