ComfyUI Node

Lazy Select

Picks one case by index or by label. Every case is lazy, so the unselected cases and their exclusive producers never execute.

By matlowai·Created 3 months ago·Updated about 24 hours ago· 241
Lazy Select
  • selector
  • case_0
  • case_1
  • case_2
  • case_3
  • case_4
  • case_5
  • case_6
  • case_7
  • default
  • result
◄labels►
CategoryMAINodes/Flow

Inputs (11)

NameTypeDefaultDescription
selectorINT,STRING00–7—
labelsoptSTRINGoptional comma separated case names, in slot order
case_0optCOMFY_MATCHTYPE_V3—
case_1optCOMFY_MATCHTYPE_V3—
case_2optCOMFY_MATCHTYPE_V3—
case_3optCOMFY_MATCHTYPE_V3—
case_4optCOMFY_MATCHTYPE_V3—
case_5optCOMFY_MATCHTYPE_V3—
case_6optCOMFY_MATCHTYPE_V3—
case_7optCOMFY_MATCHTYPE_V3—
defaultoptCOMFY_MATCHTYPE_V3—

Outputs (1)

NameTypeDescription
resultCOMFY_MATCHTYPE_V3—