ComfyUI Node
PSN Dynamic Switch
Routes data from one of multiple inputs to a single output based on a boolean condition or an index.
PSN Dynamic Switch
- input_1
- input_2
- input_3
- input_4
- output
◄conditionfalse►
◄use_indexfalse►
◄index1►
CategoryParametric/Flow
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| input_1 | ANY | Input 1. | |
| input_2 | ANY | Input 2. | |
| condition | BOOLEAN | false | Condition. Default False. |
| use_index | BOOLEAN | false | Use index. Default False. |
| index | INT | 11–4 | Index. From 1 to 4. Default 1. |
| input_3opt | ANY | Input 3. | |
| input_4opt | ANY | Input 4. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| output | ANY | — |