Compares Value A and Value B, and outputs to True Output and True Trigger if the condition holds, or to False Output and False Trigger if it does not. The kind of comparison is chosen from the dropdown on the node: > < == != >= <= (default >).
- The evaluation runs on a change in A, a change in B, the
Trigger input, or a change of condition
== / != compare floating-point numbers, so they test for approximate rather than exact equality
Value A / Value B / Trigger accept values typed directly next to the port
Both the True and the False output carry “the value of A”. B is only used for the comparison, so you cannot get behavior like “output B when the condition is met”. To swap out the value itself, use Switch.
Input ports
| Port ID | Type |
Value A | float |
Value B | float |
Trigger | trigger |
Output ports
| Port ID | Type |
True Output | float |
False Output | float |
True Trigger | trigger |
False Trigger | trigger |
Scriptable members
| Path | Type |
floatInputA | float |
floatInputB | float |
currentValueA | float |
currentValueB | float |
Synapse Apps (scripting)
await synapse.modules.create({ type: "IFFilter" })