Bool Passthrough
A boolean that lives on a wire, not a widget
- boolean
Bool Passthrough takes a BOOLEAN in and hands the exact same value out the other side. That's the whole job - no logic, no transformation, no settings. It sounds pointless until you hit the problem it actually solves: a value that three nodes need, defined in one place instead of toggled three times.
In ComfyUI you often turn a baked-in widget into a socket via right-click → "Convert widget to input". Once that toggle is a socket, you want a single authoritative source feeding it so one change propagates everywhere - the knowledge base's plumbing doc calls this the "one source, many consumers" pattern. Bool Passthrough is that source when the value in question is a boolean.
How it works
Under the hood it's about as simple as a node gets. It declares one optional BOOLEAN input named boolean and returns it unchanged as the boolean output. "Optional" is doing real work here: leave it unwired and the node passes None through, which downstream bool inputs read as "not connected". That's the same optional-equals-None convention every switch and logic node in ComfyUI leans on.
The notable detail is what's not on the node: a checkbox. This variant forces the input to be a pure socket, so there's no widget to flip. If you want a value you can toggle by hand, that's the sibling node Bool Passthrough (Widget) - wire this one when the value genuinely comes from elsewhere in the graph.
Where you'd use it
- Carrying a boolean through a subgraph boundary so the subgraph's dependency is explicit.
- Splitting one toggle to several consumers without dragging a wire diagonally across the canvas.
- Making a workflow readable: a labeled node that says "this pass is on" beats a checkbox buried on a distant node.
The pack it ships in is all about exactly this - the author built it to cut wire clutter in subgraphs, and the community reception on r/comfyui has been genuinely warm, with people calling the approach "what should be built into ComfyUI."
Install
Via ComfyUI Manager, search "Tojioo Passthrough" and install, or:
cd ComfyUI/custom_nodes
git clone https://github.com/Tojioo/tojioo_passthrough.git
Restart ComfyUI. There's no requirements.txt, no model files, no heavy dependencies - the runtime is pure Python plus a bundled frontend, so it installs in seconds. It's also on the Comfy Registry under publisher tojioo.
Common issues
The #1 confusion is expecting a checkbox and finding a socket. That's the design: no widget here, so if you want to flip a value on the node, grab Bool Passthrough (Widget) instead. Also remember an unwired passthrough outputs None - if something downstream complains, check whether the boolean input is actually connected.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| booleanopt | BOOLEAN | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| boolean | BOOLEAN | — |