get_pixel_color
Read the RGBA color of a pixel at a specific location in an Aseprite file. Specify coordinates, optional layer and frame index to get the pixel's color value.
Instructions
Read the RGBA color of a single pixel.
Args: filename: Aseprite file to read x: X coordinate y: Y coordinate layer_name: Layer to read from (uses active layer when empty) frame_index: Frame index starting at 1
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| filename | Yes | ||
| layer_name | No | ||
| frame_index | No |