Nodes/ComfyUI-Pixaroma/Loop Start Pixaroma
ComfyUI Node

Loop Start Pixaroma

Opening bracket of a loop. Put your nodes between Loop Start and Loop End and the whole section repeats. Set 'total' to the number of rounds. 'index' counts the rounds starting at 0. The value slots are things you want to carry from one round into the next (for example the frames built so far, or a running counter) - wire the matching Loop End value slots back so each round picks up where the last left off. Leave the value slots empty if your loop does not need to carry anything.

By pixaroma·Created 5 months ago·Updated 23 days ago· 271
Loop Start Pixaroma
  • value1
  • value2
  • value3
  • value4
  • value5
  • value1
  • value2
  • value3
  • value4
  • value5
  • loop
  • index
total2
Category👑 Pixaroma/🔀 Logic & Flow

Inputs (6)

NameTypeDefaultDescription
totalINT21–100000How many times the section between Loop Start and Loop End runs.
value1opt*Starting value carried into round 0. After that, the matching slot from Loop End takes over each round. Optional.
value2opt*Starting value carried into round 0. After that, the matching slot from Loop End takes over each round. Optional.
value3opt*Starting value carried into round 0. After that, the matching slot from Loop End takes over each round. Optional.
value4opt*Starting value carried into round 0. After that, the matching slot from Loop End takes over each round. Optional.
value5opt*Starting value carried into round 0. After that, the matching slot from Loop End takes over each round. Optional.

Outputs (7)

NameTypeDescription
value1*Carried value 1 for this round.
value2*Carried value 2 for this round.
value3*Carried value 3 for this round.
value4*Carried value 4 for this round.
value5*Carried value 5 for this round.
loopFLOW_CONTROLWire this into Loop End's loop input to pair the two brackets.
indexINTWhich round we are on, starting at 0 (0, 1, 2 ...).