ComfyUI Node

Integer Selector

The number node with a ceiling you'll never hit

By HavocsCall·Created 2 years ago·Updated 9 months ago· 4
Integer Selector
    • Integer
    Integer0

    Integer Selector is a passthrough for an INT value - type a number, get the number back. The pack's own framing is dead honest: "Returns the given INTEGER, unmodified." It exists to give you a wire-source for integers, because ComfyUI is full of sockets that only accept wired input.

    Why you'd reach for it

    Same logic as its float sibling, but for whole numbers: seed, steps, batch size, counters, any INT a node demands as a connection. Put your seed in one Integer Selector and wire it to both the sampler and a text converter so they stay in sync - tweak one spot, everything updates.

    The fun detail is the range. The input's max is 0xffffffffffffffff - that's 2^64 − 1, roughly 18.4 quintillion. That's not a practical ceiling, it's a "never think about it again" ceiling, and it's a small but real quality-of-life choice. If you want to understand the mechanics, it's just:

    def integer_selector(self, Integer):
        return (Integer,)
    

    Input:

    • Integer - default 0, and that enormous max.

    Output:

    • Integer - unchanged.

    Where people get burned

    Honestly, not much to burn yourself on. The one habit worth keeping: use the selector for values you want to control in one place, not for one-off numbers that only appear once. The selector shines when it's a shared knob; for a single-use value, an inline widget is less clutter.

    If you find yourself needing a float - a CFG of 7.5, say - remember this is INT-only. Reach for the pack's Float Selector instead, but know that one caps at 100.

    Installing it

    ComfyUI Manager → search "HavocsCall" → install → restart. Manual:

    cd ComfyUI/custom_nodes
    git clone https://github.com/HavocsCall/comfyui_HavocsCall_Custom_Nodes
    

    Restart, under HavocsCall/Basic. No requirements.txt, no model downloads - instant.

    CategoryHavocsCall/Basic

    Inputs (1)

    NameTypeDefaultDescription
    IntegerINT00–18446744073709550000

    Outputs (1)

    NameTypeDescription
    IntegerINT