cavalry_bounding_box
Retrieve the bounding box of a layer, returning coordinates like x, y, width, height, centre, left, right, top, bottom. Optionally use world space coordinates.
Instructions
Get bounding box of a layer. Returns {x, y, width, height, centre, left, right, top, bottom}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layerId | Yes | Layer ID | |
| worldSpace | No | Use world space coordinates |