ComfyUI Node

1 Bool

A true/false you can wire anywhere

By mirabarukaso·Created 2 years ago·Updated 5 days ago· 206
1 Bool
    • bool
    boolfalse

    This is about as simple as a node gets: one toggle in, the same true/false out. Labeled 1 Bool in the menu, it's a plain boolean constant you flip in the UI and route to as many places as you like. That sounds trivial, and it is - but it earns its spot as the humble switch that turns a whole branch of your graph on or off from one place.

    The reason a dedicated boolean node matters in ComfyUI: lots of nodes take a boolean input (a bypass toggle, a "use this instead of that" switch, an enable flag), and when several of them should share the same setting, you don't want to hunt around flipping each one by hand. Wire them all to one of these and you've got a single master switch. Flip it once, everything downstream updates.

    How it works

    There's no logic and no computation. You set the toggle; the node outputs that value. It's a source node - a constant you can see and change in one obvious spot on the canvas. Within the Mira pack it's the smallest member of a family that scales up (there's a 2 Bools and a 6 Bools that bundle several into a list), but on its own it's just the clean single switch.

    The inputs and outputs

    • bool (input) - the toggle. false by default. This is the value you set.
    • bool (output) - the same value, ready to wire out.

    Point the output at any boolean input in your workflow: the switch on a Mira Text Switcher, a bypass toggle, the enable input on a conditional node - anything that reads a BOOLEAN.

    Installing it

    Install the pack. ComfyUI Manager: Manager -> Custom Nodes Manager, search ComfyUI_Mira, Install, restart. Or clone:

    cd ComfyUI/custom_nodes
    git clone https://github.com/mirabarukaso/ComfyUI_Mira.git
    

    Restart. If a load error appears, run pip install -r requirements.txt inside the ComfyUI_Mira folder and restart. No models, no dependencies of note.

    Common issues

    Honestly, there's almost nothing to go wrong here - it's a constant. The only real question is whether you even need it. If a single node's boolean is all you're setting, just use that node's built-in toggle; this shines when multiple inputs should track one value, or when you want the switch pulled out to an obvious spot on a busy canvas instead of buried in a node's widgets.

    If you find yourself wanting to feed several booleans into something that expects a list - say, driving a batch of regional toggles - reach for 2 Bools or 6 Bools instead, which output a BOOLEAN_LIST. This node hands out a single value, not a list.

    It's part of ComfyUI_Mira, a personal utility pack by mirabarukaso (the WAI Character Select dev) built to smooth over small workflow annoyances. A one-toggle boolean is exactly the kind of tiny convenience that pack is full of - not exciting, but the thing you miss when it's not there.

    CategoryMira/Logic

    Inputs (1)

    NameTypeDefaultDescription
    boolBOOLEANfalse

    Outputs (1)

    NameTypeDescription
    boolBOOLEAN