Uses Index to pick one of the four inputs A / B / C / D and feeds it to Selected.
- Index is treated as floored (rounded down), with out-of-range values rounded to the ends (-5 gives A, 99 gives D). Plugging a Counter output straight in causes no trouble
- Index and A-D accept values typed directly next to the port. Constant values for unconnected ports are also saved in the project
- The node shows a mini bar indicating the current output value
The output is sent every frame. It keeps feeding Selected even when the value has not changed, so be careful when placing downstream nodes that expect “only on change”.
Input ports
| Port ID | Type |
Index | float |
A | float |
B | float |
C | float |
D | float |
Output ports
| Port ID | Type |
Selected | float |
Scriptable members
| Path | Type |
indexInput | float |
inA | float |
inB | float |
inC | float |
inD | float |
Synapse Apps (scripting)
await synapse.modules.create({ type: "SignalSwitch" })