Crop a source
set_source_cropRemove unwanted pixels from a source's edges by specifying crop amounts per side, and adjust the anchor to position the remaining area.
Instructions
Crop pixels off a source's edges. left/right/top/bottom are absolute pixels of the SOURCE's native resolution (not the canvas). anchor controls where the retained region sits (Center, Top, …). format omitted applies to both canvases.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| left | No | ||
| right | No | ||
| anchor | No | ||
| bottom | No | ||
| format | No | ||
| scene_id | No | ||
| source_id | Yes |