Toggle (Entity Action Type)
Toggles the state of a power that uses the Toggle (Power Type).
Toggles the state of a power that uses the Toggle (Power Type).
Type ID: apoli:toggle
!!! note
Not to be confused with Toggle (Power Type).
Fields
| Field | Type | Default | Description |
|---|---|---|---|
power | Identifier | The namespace and ID of the power that uses the Toggle (Power Type). |
Examples
"entity_action": {
"type": "apoli:toggle",
"power": "origins:phantomize"
} This example will toggle the state of the origins:phantomize (data/origins/powers/phantomize.json) power (e.g: ON —> OFF, OFF —> ON).