If (LogiX node)

From Neos Wiki
Revision as of 04:32, 8 December 2020 by Mirpasec (talk | contribs)
Jump to navigation Jump to search
Other languages:
English • ‎日本語 • ‎한국어

The If node fires impulses from one of two outputs dependent on the Condition when an impulse is received.


Inputs & Outputs

Inputs
Color Label Type
Run Impulse
Condition Boolean
Outputs
Color Label Type
True Impulse
False Impulse

Usage

Upon receiving an impulse at Run, an impulse is fired from True if Condition is True or from False if Condition is False. The default Condition value is False.

Examples

For similar if/else behavior which does not work via impulses consider the ?: ternary operator node.

Node Menu

Flow
Back Events Boolean Latch Delay Delay With Value Dynamic Impulse Receiver Dynamic Impulse Receiver With Value`1
Dynamic Impulse Trigger Dynamic Impulse Trigger With Value`1 Fire On Change Fire On False Fire On True Fire While True For
If Impulse Demultiplexer Impulse Multiplexer Local Fire On Change`1 Local Fire On False Local Fire On True Local Impulse Timeout
Local Leaky Impulse Bucket One Per Frame Pulse Random Sequence Timer Update Updates Delay
Updates Delay With Value While