get_tile_at
Retrieve the tile ID at a specific grid coordinate on a tilemap layer in an Aseprite file. Get the tile index (0 for empty) for a given frame, column, and row.
Instructions
Read which tile is placed at a grid position.
Args: filename: Aseprite file to read layer_name: Tilemap layer to read frame_index: Frame index starting at 1 col: Grid column (0-based) row: Grid row (0-based)
Returns: JSON with {col, row, tile_index} (0 = empty).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| col | Yes | ||
| row | Yes | ||
| filename | Yes | ||
| layer_name | Yes | ||
| frame_index | Yes |