Nodes/ComfyUI-RyuuNoodles/Switch Latent Fallback 🐲
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 🐲"

By DraconicDragonΒ·Created about a year agoΒ·Updated about a month agoΒ· 11
Switch Latent Fallback 🐲
  • on_true_fb
  • on_false
  • LATENT
β—„booleanfalseβ–Ί
CategoryRyuuNoodles 🐲/Switches

Inputs (3)

NameTypeDefaultDescription
booleanBOOLEANfalseTrue 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_fbLATENTThe input to output if boolean is True. Will be used as fallback if on_false is not provided.
on_falseoptLATENTThe 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)

NameTypeDescription
LATENTLATENTβ€”