ComfyUI Node

6 Bools

Six switches in one boolean list

By mirabarukaso·Created 2 years ago·Updated 5 days ago· 206
6 Bools
    • bool_list
    bool_1false
    bool_2false
    bool_3false
    bool_4false
    bool_5false
    bool_6false

    Six toggles in, one boolean list out. Menu-labeled 6 Bools, this is the widest member of Mira's boolean family - where 1 Bool gives a single value and 2 Bools gives a pair, this packs six true/false switches into a single BOOLEAN_LIST. It's the node you want when you've got a handful of on/off decisions that should travel together as one connection.

    The natural fit is a multi-region setup. If you're running regional prompting - the standard fix for two or more characters bleeding their attributes into each other in a single prompt - you often have several regions, each with a "is this one active" switch. Bundling those into one list lets a downstream interpreter enable or skip each region in order, without six separate wires snaking across the canvas.

    How it works

    Pure construction, no logic. You set six toggles; the node emits them as an ordered BOOLEAN_LIST - bool_1 is element 0, on through bool_6 at element 5. The order is preserved so whatever consumes the list can map each element to a known slot. It's a source node: nothing computes, it just packs what you set.

    The inputs and outputs

    Six inputs, all BOOLEAN, all false by default: bool_1 through bool_6. One output, bool_list, a BOOLEAN_LIST carrying all six in order.

    Feed the output into any node that reads a boolean list - a list interpreter, a multi-way switch, or Mira's own logic chain that walks the list element by element.

    Installing it

    Install the whole 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. On a load error, run pip install -r requirements.txt inside the folder and restart. No models or heavy deps.

    Common issues

    Same type gotcha as its smaller siblings: the output is a BOOLEAN_LIST, not six separate booleans and not a plain boolean. You can't drop it into an ordinary toggle input - the consuming node has to accept a list. If it doesn't, you either use single 1 Bool nodes per input, or index into the list first.

    Position discipline matters more here simply because there are six of them. bool_1 is element 0; if a downstream region seems to react to the wrong switch, you've likely got the toggle order out of step with what the interpreter expects. Label your toggles mentally against the regions they drive and it stays manageable.

    And don't over-reach for it. If you're only setting two or three switches, 2 Bools (or a couple of 1 Bools) keeps the graph clearer; six empty-defaulted toggles you're not using is just visual noise.

    It's part of ComfyUI_Mira, a solo utility pack by mirabarukaso (better known for the WAI Character Select app), and this boolean family is a good example of the pack's flavor - small primitives that make a busy logic-and-regional graph tidier. The README's regional-conditioning example shows how these switches slot into a multi-region setup.

    CategoryMira/Logic

    Inputs (6)

    NameTypeDefaultDescription
    bool_1BOOLEANfalse
    bool_2BOOLEANfalse
    bool_3BOOLEANfalse
    bool_4BOOLEANfalse
    bool_5BOOLEANfalse
    bool_6BOOLEANfalse

    Outputs (1)

    NameTypeDescription
    bool_listBOOLEAN_LIST