Select Between
easy
A BOOL select input chooses between two inputs to route to the output.
What it teaches
Pick one of two inputs based on a switch. When the switch is off, the output follows input A; when it’s on, the output follows input B. The building block behind every manual/auto and remote/local selector.
Inputs and outputs
| Tag | Type | Default | Description |
|---|---|---|---|
| In_Select | BOOL | — | Selector switch; 0 = select A, 1 = select B |
| In_A | REAL | — | First input value |
| In_B | REAL | — | Second input value |
| Out_Selected | REAL | — | Routed value |
Required behavior
- Out_Selected equals In_A when In_Select is 0.
- Out_Selected equals In_B when In_Select is 1.