Command · tilemap
tilemap.fill
Flood fill matching cells within explicit bounds.
scope edit:scenenot idempotentnon-destructive
Params
Typed as TileFillParams. Fields marked * are required.
entity*
entityTilemap entity.
required
layer*
stringStable layer ID.
required
seed*
TileCellStarting cell.
required
min*
TileCellInclusive minimum coordinate; bounds make empty-space fills finite.
required
max*
TileCellInclusive maximum coordinate.
required
tile*
u32New tile definition, zero to erase.
required
autotile
option<bool>Re-run terrain rules on the filled region and its border (default false).
default null
Examples
JSON (MCP ara_apply, batches)
{
"cmd": "tilemap.fill",
"args": {
"entity": "e_map1",
"layer": "l_ground",
"seed": {
"x": 0,
"y": 0
},
"min": {
"x": -4,
"y": -4
},
"max": {
"x": 4,
"y": 4
},
"tile": 1
}
}CLI
ara do tilemap.fill --args '{"entity":"e_map1","layer":"l_ground","seed":{"x":0,"y":0},"min":{"x":-4,"y":-4},"max":{"x":4,"y":4},"tile":1}' --why "…"