Float Passthrough (Widget)
Type your decimal once, share it everywhere
- float
The Float Passthrough with a number box. Type 0.45 once, wire the float output to the sampler's denoise, the detailer's strength, and anything else that wants it - and there's exactly one place to change that value. It's the classic value-node move from the plumbing playbook, applied to a decimal, and for tweaking workflows it's quietly one of the most-used patterns in ComfyUI.
The pack splits every primitive passthrough into two variants - connect-only and Widget - and this is the Widget one, sitting under Tojioo Passthrough → Simple Passthrough → Widget Variants. Same output either way; the difference is purely where the value comes from. Type it in the box, or connect a wire and the incoming value wins.
How it works
Same simple-passthrough implementation as the whole family - the run function is return (kwargs.get("float"),) - but without the forceInput flag, so you get a widget on the node alongside the socket. Type a value, fan the wire out, and every consumer sees the same number. If nothing is connected and the widget is untouched, the output is None, same as the rest of the pack.
Inputs and outputs
float(FLOAT) - a widget on the node, optionally overridable by a wire.float(FLOAT) out - the value, ready to feed any FLOAT socket.
Install
Manager → search "Tojioo Passthrough" → Install → restart, or:
cd ComfyUI/custom_nodes
git clone https://github.com/Tojioo/tojioo_passthrough.git
No models, no pip deps. Small single-maintainer pack, GPL-3.0.
Common issues
The only real confusion is variant-picking: grab the plain Float Passthrough and you'll find no widget (that's the connect-only one); grab this one and you've got your box. And remember the shared None behavior - an unconnected, unedited node outputs nothing, so if your denoise suddenly reads as missing, check whether you ever typed a value in. Other than that, there's genuinely nothing to break here.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| floatopt | FLOAT | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| float | FLOAT | — |