Eight Input Integer Switch (Widget)
The Widget int switch
- INT
The "(Widget)" suffix on Eight_Input_Int_Switch_Widget is the whole story: this is the version of the eight-input integer switch where every value is a widget you type into directly on the node. No wiring sources in, no hunting for constant nodes - you just fill in eight numbers and flip the selector. If you've ever looked at a forceInput node and thought "I just want to type 28 here," this is the one.
It's the largest of the Widget int switches (four, six, and eight input versions exist). The mechanism is identical to the plain switch: switch selects a position, and the value at that position passes out as a single INT. The difference is purely ergonomic - widget inputs sit on the node face instead of requiring connections.
Inputs and outputs
switch- integer 1 to 8, required. The selector, also a widget.int1β¦int8- optional integers, default 0, entered directly on the node.
Output: a single INT - the selected value, or 0 if the position is empty (they default to 0 anyway, so an empty slot just passes 0). The node is registered as an output node, so it runs even with nothing downstream.
Why pick Widget over the plain version
Plain int switches expect wired inputs - great when values come from other nodes (a randomizer, a resolution picker, a constant). The Widget versions are for when the values are yours: a fixed set of steps you use, a shortlist of seeds, a resolution ladder you don't want to rebuild as nodes. The trade-off: once you type a number in, it's baked into the workflow JSON, and changing it means opening the node again. That's fine for presets, annoying for values that should stay dynamic.
Installing it
Part of Endless πβ¨ Nodes by tusharbhutt:
cd ComfyUI/custom_nodes
git clone https://github.com/tusharbhutt/Endless-Nodes
# restart ComfyUI
Or ComfyUI Manager β search "Endless". No dependencies or model files.
Gotchas
Keep switch in 1-8, remember empty slots pass 0, and know the usual pack caveats: one maintainer, AI-assisted, rewritten mid-2025. For a switch this trivial the risk is minimal - but if you only need a handful of typed-in presets, you can likely get the same thing from a general utility pack already in your install instead of adding Endless for one node.
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| switch | INT | 11β8 | β |
| int1opt | INT | 0 | β |
| int2opt | INT | 0 | β |
| int3opt | INT | 0 | β |
| int4opt | INT | 0 | β |
| int5opt | INT | 0 | β |
| int6opt | INT | 0 | β |
| int7opt | INT | 0 | β |
| int8opt | INT | 0 | β |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| INT | INT | β |