Nodes/ComfyUI-Desert-Pixel-Nodes/DP Draggable Floats 2
ComfyUI Node

DP Draggable Floats 2

Two 0–1 float knobs in one node

By DesertPixelAi·Created 2 years ago·Updated about a year ago· 25
DP Draggable Floats 2
    • float_value1
    • float_value2
    float_value11.00
    float_value21.00

    The two-knob version of Desert Pixel's draggable float. Same idea as the single - a float value you can drag between 0 and 1 - but you get two of them bundled in one node, each with its own output. Use it when you've got a pair of related values you tune together and you'd rather not have two separate nodes cluttering the canvas.

    The natural fit is any two-value pair that lives in the 0–1 band: a ControlNet's start and end percent, a positive/negative weight balance, two LoRA strengths you nudge as a set, or the strength of two effect passes. Grouping them means you glance at one node and see both numbers instead of chasing them across the graph.

    The inputs that matter

    • float_value1 (0–1, step 0.01, default 1)
    • float_value2 (0–1, step 0.01, default 1)

    Both drag in hundredths across the 0–1 range. Each has its own matching output - float_value1 and float_value2 (both FLOAT) - so they stay independent; the node is just a tidy container for two knobs, not a node that combines them into one number.

    Why the paired version

    Two things you're iterating together belong in one place. Say you're balancing a ControlNet: you're constantly poking start_percent and end_percent to find where the composition locks and where the model should take over. Park both on this node and they're side by side, one drag each. It's the same "promote the value you actually tune" ergonomics as the single-float node, scaled to a pair - which is the point of quality-of-life utilities: fewer places to look, fewer values to forget to update.

    How to install it

    ComfyUI Manager: search ComfyUI-Desert-Pixel-Nodes, install, restart. Or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/DesertPixelAi/ComfyUI-Desert-Pixel-Nodes
    

    then restart. No models, no dependencies. Under the "DP" utils category.

    Common issues & troubleshooting

    The two values aren't being combined. Right - they're two independent knobs sharing a node, not an operation. float_value1 and float_value2 each go out their own wire. If you wanted to add, multiply, or compare two numbers, that's a math node, not this.

    I need more than 1.0. Both cap at 1.0, same as the single-float node. If either value needs headroom above 1 - CFG, a LoRA strength you want to overdrive - use DP Draggable Floats 3, which ranges 0–2, or a plain float primitive.

    One knob or three? The pack gives you 1-, 2-, and 3-float variants so you can right-size to how many related values you're tuning. Two knobs and no more: this is the one. If a third value creeps into the set, swap up to the 3-value node rather than adding a lone single alongside it.

    CategoryDP/utils

    Inputs (2)

    NameTypeDefaultDescription
    float_value1FLOAT1.000–1
    float_value2FLOAT1.000–1

    Outputs (2)

    NameTypeDescription
    float_value1FLOAT
    float_value2FLOAT