Set layer properties
set_layerChange a layer's name, visibility, opacity, blend mode, mask, and transform (origin, size, rotation, flips) in a Compositor .comp project.
Instructions
Changes name, visibility, opacity, blend mode, mask enablement or transform (origin, size, rotation, flips) of a layer. Only the given fields change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| path | Yes | Path to the .comp project package (a directory ending in .comp) | |
| size | No | Display size in canvas pixels; source pixels are untouched | |
| flipX | No | ||
| flipY | No | ||
| layer | Yes | Layer UUID or its exact name | |
| active | No | Make it the selected layer in Compositor | |
| origin | No | Top-left in canvas pixels | |
| opacity | No | ||
| visible | No | ||
| rotation | No | Clockwise degrees | |
| sampling | No | ||
| blendMode | No | ||
| maskEnabled | No |