mergeLayer
Composites a layer onto the main canvas or another layer.
Syntax
Parameters
| Parameter | Type | Description | Default |
|---|---|---|---|
| name | string |
Source layer name. | Required |
| x | int/str |
X position to paste the layer. | 0 |
| y | int/str |
Y position to paste the layer. | 0 |
| opacity | int |
Opacity percentage. | 100 |
| target | string |
Target layer name (or main). |
main |