get_tile_at
Read the tile index at a specific grid position in a tilemap layer from an Aseprite file. Returns the tile ID (0 for empty).
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 |
|---|---|---|---|
| filename | Yes | ||
| layer_name | Yes | ||
| frame_index | Yes | ||
| col | Yes | ||
| row | Yes |