Bool
A checkbox with a real type behind it
- bool
Booleans are the quiet troublemakers of ComfyUI. Lots of nodes want a yes/no - "apply upscale?", "use tiled VAE?", "strip whitespace?" - but the value behind the checkbox is often whatever the widget felt like, and in a Primitive node it's easy to accidentally ship a string "false" that's treated as truthy. ZeugBool is the checkbox that's honest about being a boolean.
What it is
ZeugBool lives in the zeug → Values menu. It has one input, value, a BOOLEAN that defaults to false, and one output, bool, that carries a real true/false. Flip the switch, the wire carries a boolean, done. The node's bool_value function passes the widget straight through with zero processing.
When you'd reach for it
Whenever you want one toggle driving several boolean inputs at once, or when you need a yes/no value that's guaranteed to be typed as a boolean when it arrives downstream. A common pattern is a single ZeugBool that gates several "should I do X" inputs across your workflow, so you can turn a whole behavior on or off from one visible checkbox instead of hunting through nested widgets.
It's also the value node you'll most often pair with the pack's own nodes - ZeugSplitStrList's strip_whitespace toggle, for instance, could be driven by a ZeugBool if you ever want to switch that behavior programmatically across a graph.
How it works
Nothing to reverse-engineer: a checkbox in, a checkbox out. The whole point is the type contract. In ComfyUI's graph, a BOOLEAN wire is unambiguous - downstream nodes that test it get a real True/False, not a string or a 1/0 that has to be interpreted. When a workflow misbehaves in that murky "it should have been a false but it wasn't" way, a typed bool node is often the fix.
How to install it
It ships in comfyui-zeug (German for "gear" or "stuff"), a small GPL-3.0 pack by Adrian Schubek:
- ComfyUI Manager: search
zeugin the Custom Nodes Manager and install ComfyUI-Zeug. - Manual:
cd ComfyUI/custom_nodes
git clone https://github.com/adrianschubek/comfyui-zeug
Restart ComfyUI. The pack declares no dependencies and downloads no models - it only uses torch and ComfyUI's own modules, both already on your system. If you're cautious about installing random custom nodes (and you should be, given the ecosystem's history), a zero-dependency pass-through pack is about the safest category there is.
Common issues
There's barely anything to break. The only frustration is the same one all these value nodes share: if you wire a boolean into a node that wants a string or an int, ComfyUI will either refuse or mangle it, and you'll wonder why. Convert deliberately - there's no ZeugBoolToInt in this pack, so for that case you'd reach for a conditional or switch node from another utility pack instead of fighting the type system.
Beyond that, it's a checkbox. It won't fix your sampler, but it will stop a surprising number of "why is this toggling not working" headaches.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| value | BOOLEAN | false | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| bool | BOOLEAN | — |