StaticFloat
The Static Float Node
- FLOAT
This node is a single floating-point value with a wire coming out of it. That's it. That's the whole node. It exists because "a number with a wire" is one of the most useful things in ComfyUI, and the pack needed its own version of the primitive so you don't have to reach for another collection.
Why you'd use it
The UC_StaticFloat solves the repetition half of the plumbing problem - one value, five consumers. Say your denoise lives on three different samplers, or your CFG needs to match across a comparison workflow. Type it once into this node, fan the FLOAT output out to every socket, and change one number instead of hunting through widgets. It pairs perfectly with right-click → Convert widget to input on a KSampler or upscaler: convert the denoise widget to a socket, drop a UC_StaticFloat on it, and now the graph - not a buried widget - owns that value.
It's the explicit-typed cousin of ComfyUI core's polymorphic Primitive node, which adopts whatever type you plug it into. UC_StaticFloat just says what it is: a FLOAT, stepped at 0.01, default 1.0, with essentially no range limit. Nothing to infer, nothing to surprise you.
The inputs
Just the one:
- value - the number itself, a FLOAT with 0.01 step. Set it, wire the output.
There's no control_after_generate randomize here (that's what UC_RandInt is for), so this is deliberately the boring, stable value. If you need the value to change per run, you've grabbed the wrong node - this one is for constants and saved workflow parameters.
How to install it
It's part of ComfyUI-UtilsCollection by silveroxides:
cd ComfyUI/custom_nodes
git clone https://github.com/silveroxides/ComfyUI-UtilsCollection
Restart ComfyUI. Or install "ComfyUI-UtilsCollection" via Manager. The pack's requirements are just opencv-python and typing-extensions, and this node uses neither - it's pure plumbing.
Anything to watch out for?
Not really, and that's the point. The only mild trap is that this pack replaces the equivalent nodes from ComfyUI-LogicMath and friends - when you load a workflow built on another logic pack, ComfyUI will offer to swap those nodes in. Accept it if you're consolidating; the UC_ nodes here keep the same behavior. One tip: give the node a meaningful title (right-click → Title) when you've got several static floats in a graph, because a canvas full of identical "StaticFloat" boxes is exactly how you lose track of which number does what.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| value | FLOAT | 1.00 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| FLOAT | FLOAT | — |