Logic
Route a turn true or false on an expression. When trigger fires it reads value (and condition), passes value on at value, then fires true or false. Routes, never computes.
Fired. It runs when an event lands on trigger, and pulls its other inputs at that moment. A data wire never fires it.
Inputs
Section titled “Inputs”| Port | Type | Notes |
|---|---|---|
trigger |
event | Fires the node |
value |
any | |
condition |
any | Optional |
Outputs
Section titled “Outputs”| Port | Type | Notes |
|---|---|---|
true |
event | |
false |
event | |
value |
any |
Right-click a knob and pick Convert to input to drive it from a wire.
| Knob | Kind | Default | Notes |
|---|---|---|---|
expression |
text block | value |
Example
Section titled “Example”Picks a branch. When trigger fires it reads value (and condition, if wired), runs the expression, and fires true or false; wire each into the trigger of the node that branch should run. value passes on the value it read. The expression sees value and condition: len(value) > 0, value == "yes", condition > 10. An expression that fails counts as false.