ScriptEvent:setToggle

From Mod Wiki

Parameters

boolean toggle -- Set toggle on or off

Result

None.

Supported By

idMover_Binary
idDoor

Functionality

Sets the toggle state for the entity. If toggle mode is enabled, the entity will toggle between the two states, rather than returning to the initial state after a period of time.