ComfyUI Node
EZ Switch
Switch between any number of inputs automatically, based on index or randomly.
EZ Switch
- *
◄number_of_inputs2►
◄selected_index1►
◄selection_modeby index►
◄opt_seed0►
CategoryEZ NODES
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| number_of_inputs | INT | 22–50 | Dynamically select number of inputs. Only the last of current inputs may be affected when this value is changed |
| selected_index | INT | 11–50 | Index of input to be passed to output (if in 'by index' mode) |
| selection_mode | COMBO | by index | modes: - by index: Select input by specifying index - by random: Choose a random input each time - automatic: Output the first input that is not None |
| opt_seedopt | INT | 00–18446744073709550000 | Control SEED, used only in 'by random' selection mode. If not connected, always re-executes node on prompt |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| * | * | Unprocessed value of any type. |