Difference between revisions of "If (LogiX node)"
Jump to navigation
Jump to search
m |
|||
Line 50: | Line 50: | ||
[[Category:LogiX{{#translation:}}|If]] | [[Category:LogiX{{#translation:}}|If]] | ||
− | [[Category:LogiX: Flow | + | [[Category:LogiX: Flow|If]] |
{{:NodeMenu-Flow{{#translation:}}}} | {{:NodeMenu-Flow{{#translation:}}}} |
Revision as of 04:54, 8 December 2020
The If node fires impulses from one of two outputs dependent on the Condition when an impulse is received.
Inputs & Outputs
Color | Label | Type |
Run | Impulse | |
Condition | Boolean |
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.