Ara
Download

Search or run a command

Jump to a section or open an Ara link.

Command · terrain

terrain.layer.set

Change opacity, visibility or ordering without destroying strokes.
scope edit:scenenot idempotentnon-destructive

Params

Typed as TerrainLayerSetParams. Fields marked * are required.

id*

string
Existing layer record ID.
required
Replacement layer controls.
required

Examples

JSON (MCP ara_apply, batches)

{
  "cmd": "terrain.layer.set",
  "args": {
    "id": "l_base",
    "layer": {
      "name": "Base",
      "priority": 0,
      "enabled": false,
      "opacity": 1
    }
  }
}

CLI

ara do terrain.layer.set --args '{"id":"l_base","layer":{"name":"Base","priority":0,"enabled":false,"opacity":1}}' --why "…"