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.
GS SmartSwitch
- on_true
- on_false
- output
◄booleantrue►
◄auto_disabletrue►
Categoryutils/conditional
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| boolean | BOOLEAN | true | True routes on_true through and grays out on_false's exclusive upstream widgets. False does the reverse. |
| auto_disable | BOOLEAN | true | Turn 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)
| Name | Type | Description |
|---|---|---|
| output | * | — |