add_tileset_source
Add an atlas texture source to a Godot TileSet resource, specifying texture path, tile size, margin, and separation to define tiles for use in tilemaps.
Instructions
Add an atlas source (texture) to a TileSet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| margin | No | Atlas margin [x, y] | |
| source_id | No | Source index (auto-detected if omitted) | |
| tile_size | No | Tile size [x, y] in pixels | |
| separation | No | Atlas separation [x, y] | |
| texture_path | Yes | Path to the tileset atlas texture (e.g. "res://textures/tiles.png") | |
| tileset_path | Yes | Path to .tres TileSet file |