get_pixel_grid
Extract exact pixel values from a canvas or cel at absolute coordinates. Supports hex, rgba, indexed, or compact formats for precise pixel inspection.
Instructions
Returns exact pixel values from the canvas or cel in absolute canvas coordinates (0,0 is top-left). Supports hex, rgba, indexed, or token-saving compact format.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Pixel output format | hex |
| region | No | Optional sub-region of pixels to inspect | |
| layerName | No | Layer name to inspect (defaults to active layer) | |
| frameIndex | No | Frame number (1-indexed) | |
| layerIndex | No | Layer index to inspect |