create_tilemap_layer
Add a tilemap layer with a custom tileset to an Aseprite file, setting the sprite grid to the specified tile dimensions.
Instructions
Create a tilemap layer with its own tileset.
Sets the sprite grid to the tile size and adds a tilemap layer. Tile index 0 is always the empty tile; add real tiles with draw_on_tile (which creates tiles on demand).
Args: filename: Aseprite file to modify layer_name: Name for the new tilemap layer tile_width: Tile width in pixels tile_height: Tile height in pixels
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| layer_name | Yes | ||
| tile_width | Yes | ||
| tile_height | Yes |