Skip to content

SwitchTo

Name - Description Default Type
<input> Any
<output> Any
Wire The name of the wire to switch to, or none to switch to the previous state. None WireString
Restart If the wire should always (re)start from the beginning instead of resuming to whatever state was left. false Bool

Switches to a given wire and suspends the current one. In other words, switches flow execution to another wire, useful to create state machines.