ProtoFlux:Toggle

From Resonite Wiki
Revision as of 22:43, 4 May 2024 by Decoy (talk | contribs) (Added flux node and rudimentary explanations.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Toggle
*
Next
Target
Media

The Toggle node tells a IPlayable to start or stop playback upon impulse, depending on the current state.

This will start playback on impulse if it's currently stopped, and vice versa.

Inputs

* (Call)

Target (IPlayable)

The IPlayable to toggle playback on.

Outputs

Next (Continuation)

Sends an impulse after the initial call.

Examples