get_composite_pixel
Read the visible RGBA color at a pixel, compositing all layers to show what the player sees. Essential for verifying colors in multi-layer sprites.
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 |
|---|---|---|---|
| filename | Yes | ||
| x | Yes | ||
| y | Yes | ||
| frame_index | No |