get_composite_pixel
Read the visible RGBA color of a pixel by flattening all visible layers in an Aseprite file, so you can verify what the player actually sees across grouped or multi-layer scenes.
Instructions
Read the RGBA colour VISIBLE at a pixel (flattened composite of all layers).
Unlike get_pixel_color (which reads a single cel), this composites every visible layer — "what the player actually sees" — by flattening a throwaway clone. Essential for value/CVD QA on grouped/multi-layer scenes.
Args: filename: Aseprite file to read x: X coordinate (sprite-global) y: Y coordinate (sprite-global) frame_index: Frame index starting at 1
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| filename | Yes | ||
| frame_index | No |