Step Switch
Field cell-object reference. Type tag: step_switch. The key words
MUST, MUST NOT, and MAY are
used as in RFC 2119. See the Cell Objects index
and the Field Stage Lifecycle for how
objects are spawned and persisted.
Config schema
Fields authored on this object in the stage JSON:
| Field | Type | Default | Note |
|---|---|---|---|
position | [x, y, z] | — | stage-local spawn position |
link_id | string | — | links to the fence(s) with the same link_id |
Spawn behavior
A floor pressure plate placed from the stage config.
Persisted state
Pressed / unpressed link state is persisted with the cell alongside its linked fence.
Interactions
Stepping onto the switch (flip_switch plan action) toggles every fence sharing its link_id. The switch only affects its own linked fence(s) — never an unrelated barrier.