Ara
Download

Search or run a command

Jump to a section or open an Ara link.

Command · tilemap

tilemap.erase

Erase tile cells as one undoable stroke.
scope edit:scenenot idempotentnon-destructive

Params

Typed as TileEraseParams. Fields marked * are required.

entity*

entity
Tilemap entity.
required

layer*

string
Stable layer ID.
required

cells*

list<TileCell>
Cells to erase atomically.
required

autotile

option<bool>
Re-run terrain rules on the erased cells' neighbors in the same transaction (default false).
default null

Examples

JSON (MCP ara_apply, batches)

{
  "cmd": "tilemap.erase",
  "args": {
    "entity": "e_map1",
    "layer": "l_ground",
    "cells": [
      {
        "x": 0,
        "y": 0
      }
    ]
  }
}

CLI

ara do tilemap.erase --args '{"entity":"e_map1","layer":"l_ground","cells":[{"x":0,"y":0}]}' --why "…"