Skip to main content

Toggle (Entity Action Type)

Switches a power that uses the Toggle power type on if it is off, and off if it is on.

Type ID: apoli:toggle

note

This is the entity action. For the power type it switches, see Toggle (Power Type).

Fields

FieldTypeDefaultDescription
powerIdentifierrequiredThe ID of a power that uses the Toggle power type.

Examples

"entity_action": {
    "type": "apoli:toggle",
    "power": "origins:phantomize"
}

This switches the origins:phantomize power (data/origins/powers/phantomize.json) to its other state.