Nodes/ComfyUI-GerryNodes/GS SmartSwitch
ComfyUI Node

GS SmartSwitch

Switch between on_true/on_false based on a boolean, and automatically gray out widgets on any node used exclusively by the inactive branch.

By Gerry-Malta·Created 2 months ago·Updated 2 months ago· 0
GS SmartSwitch
  • on_true
  • on_false
  • output
booleantrue
auto_disabletrue
Categoryutils/conditional

Inputs (4)

NameTypeDefaultDescription
booleanBOOLEANtrueTrue routes on_true through and grays out on_false's exclusive upstream widgets. False does the reverse.
auto_disableBOOLEANtrueTurn off to disable the auto gray-out behavior entirely - the switch still routes on_true/on_false normally either way.
on_trueopt*
on_falseopt*

Outputs (1)

NameTypeDescription
output*