Skip to content
KCKingdoms Connected Scripting APIScripting guides and API
Data shapeServer APIGenerated

GateToggle

Defined in: server/api.d.ts:6530

accepted: boolean

Defined in: server/api.d.ts:6534

Whether a cycle started.


opening: boolean

Defined in: server/api.d.ts:6544

The direction taken, or the one that was refused.


reason: string

Defined in: server/api.d.ts:6539

Why nothing moved, as a phrase that reads after the gate’s name: is already open, is already closing. Empty when a cycle started.


seconds: number

Defined in: server/api.d.ts:6549

How long the motion still has to run. 0 when nothing moved.