Ara
Download

Search or run a command

Jump to a section or open an Ara link.

Command · tilemap

tilemap.rule.apply

Apply terrain rules to a whole layer in one transaction.
scope edit:scenenot idempotentnon-destructive

Params

Typed as TileRuleParams. Fields marked * are required.

entity*

entity
Tilemap entity.
required

layer*

string
Stable layer ID.
required

Examples

JSON (MCP ara_apply, batches)

{
  "cmd": "tilemap.rule.apply",
  "args": {
    "entity": "e_map1",
    "layer": "l_ground"
  }
}

CLI

ara do tilemap.rule.apply --args '{"entity":"e_map1","layer":"l_ground"}' --why "…"