π’ CR Index Multiply
Scale an Index by a Factor, Chain-Compatible With the Rest of the Family
- index
- factor
- show_help
CR Index Multiply does what its name says: it takes an index and a factor and scales one by the other. What's worth noting is the output shape - the results come back out as sockets literally named index and factor, not "result" or "product," which is a deliberate choice by the pack: it means this node's outputs plug directly into the next CR Index family node in a chain without a rename or a mismatch.
How it works. Two required integer inputs: index (0β10000) and factor (0β10000, default 1). The evident purpose from the node's own name is that the index output carries the multiplied value forward - the exact internal formula isn't documented outside the class name itself, so if you're building something where the precision matters, it's worth wiring a Show Text/Int node onto the output once and confirming the behavior with a couple of known inputs before trusting it in a long chain.
Why the output keeps the name "index." This is a pattern across Comfyroll's whole Index family - CR Index, CR Index Increment, CR Index Multiply, CR Index Reset - all of them emit an output socket literally called index, so you can drop any one of them into a chain feeding the next without the graph looking like a patchwork of differently-named wires. It's a small consistency choice, but it's the difference between an index chain reading cleanly left to right and one where you have to trace which wire is "the real index" at each step.
Typical use. Deriving a scaled offset from a base counter - turning a simple 0, 1, 2, 3... index into 0, 8, 16, 24... by setting factor to 8, for instance, if you need index values that land on multiples of something (image tile positions, frame offsets, batch boundaries).
Inputs and outputs that matter. index and factor in (both required); index, factor, and show_help out.
Install. ComfyUI Manager: search "Comfyroll Studio", install, restart. Manually: cd ComfyUI/custom_nodes && git clone https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes.git, restart. No models needed.
Troubleshooting. Because the output is named index rather than something that signals "this is now a computed value," it's easy to lose track of whether a downstream index input is the raw counter or the multiplied result - label your nodes or trace the wire once if a chain gets more than two or three of these deep. The pack-wide install caveat applies as always too: Comfyroll registers its whole node set from one shared file, and a documented failure mode on r/comfyui (Failed to load Graphics nodes / Failed to load Utility nodes) wipes every node in the pack from the menu when a single class fails to import. If nodes are missing after install, redo it with a clean git clone.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| index | INT | 10β10000 | β |
| factor | INT | 10β10000 | β |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| index | INT | β |
| factor | INT | β |
| show_help | STRING | β |