ComfyUI Node
Switch Latent Fallback π²
This node allows for 2 inputs where the second input is chosen if it's provided as well as if the boolean switch is set to false, and otherwise the first input is used as fallback. Use the boolean switch to choose preference between the two inputs. If you want the same node without the boolean input, use "Passthrough π²"
Switch Latent Fallback π²
- on_true_fb
- on_false
- LATENT
βbooleanfalseβΊ
CategoryRyuuNoodles π²/Switches
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| boolean | BOOLEAN | false | True will output on_true_fb, False will try to output on_false. If on_false is not provided (e.g. the connected node is muted or bypassed), it will fall back to on_true_fb. A message will be printed to console if this happens. |
| on_true_fb | LATENT | The input to output if boolean is True. Will be used as fallback if on_false is not provided. | |
| on_falseopt | LATENT | The input to output if boolean is False. If not provided (e.g. the connected node is muted or bypassed), on_true_fb will be used as fallback and a message will be printed to console if this happens. This input is optional. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| LATENT | LATENT | β |