ComfyUI Node

8 Bools

Pack eight toggles into one list

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

    8 Bools is a control panel. It's a single node with eight on/off switches that it bundles into one BOOLEAN_LIST output, so you can carry a bunch of yes/no decisions down one wire instead of dragging eight separate boolean links across your graph. Wire that list into Mira's Boolean List Interpreter nodes at the other end and unpack whichever switches you need where you need them.

    It's part of the Logic group in ComfyUI_Mira, mirabarukaso's utility pack. This node exists for the same reason rgthree's context nodes do: big workflows get unreadable when every toggle is its own trailing wire. Collapse eight of them into one list and the graph gets legible again. It's plumbing, but plumbing that keeps a complex workflow from becoming spaghetti.

    How it works

    Each of the eight inputs is a plain boolean widget. The node reads all eight and emits them as an ordered list. There's no logic applied - it doesn't AND them or count them, it just packs them in order. The ordering matters because the interpreter nodes on the receiving end pull values by index, so bool_1 is index 0, bool_2 is index 1, and so on.

    The typical pattern: 8 Bools sits at one side of your workflow as the "settings" node, the list runs across to wherever the decisions are consumed, and a 1/4/8 Boolean List Interpreter picks out the relevant switches. In a regional-conditioning setup you might use it to toggle which regions are active, or as the input to a function-swap or gate node.

    Inputs and outputs that matter

    • bool_1 through bool_8 - eight independent toggles, all defaulting to off. Set the ones you care about; leave the rest.

    The single output is bool_list, a BOOLEAN_LIST. It's not meant to plug directly into a node expecting one boolean - it's a bundle, and the Boolean List Interpreter nodes are its intended readers.

    Installing it

    ComfyUI Manager: search ComfyUI_Mira in the Custom Nodes Manager, Install, restart. Manual: cd ComfyUI/custom_nodes && git clone https://github.com/mirabarukaso/ComfyUI_Mira.git, then restart ComfyUI. If the pack errors on load, run pip install -r requirements.txt in its folder and restart. No models involved.

    Common issues

    The one mistake people make is treating the bool_list output like a single boolean and wiring it straight into something that wants a BOOLEAN. It won't do what you expect - it's a list. Route it through a Boolean List Interpreter (1, 4, or 8 outputs) to get individual booleans back out.

    Beyond that, this is about as safe as a node gets. Just keep the index order straight in your head: bool_1 is the first entry, and the interpreter's Start_At_Index counts from there. If a downstream toggle seems to read the wrong switch, you're almost certainly off by one on the index rather than hitting a bug. It's a convenience node, and its only real failure mode is forgetting it produces a bundle, not a value.

    CategoryMira/Logic

    Inputs (8)

    NameTypeDefaultDescription
    bool_1BOOLEANfalse
    bool_2BOOLEANfalse
    bool_3BOOLEANfalse
    bool_4BOOLEANfalse
    bool_5BOOLEANfalse
    bool_6BOOLEANfalse
    bool_7BOOLEANfalse
    bool_8BOOLEANfalse

    Outputs (1)

    NameTypeDescription
    bool_listBOOLEAN_LIST