Nodes/ComfyUI-GadgetNodes/Select Nth Items Of AnyList
ComfyUI Node

Select Nth Items Of AnyList

Selects the Nth items from a list. If the index is out of range, it was omit.

By 2daadv·Created 5 months ago·Updated about 17 hours ago· 1
Select Nth Items Of AnyList
  • any_list
  • any_list
index_list
CategoryGadget/logic

Inputs (2)

NameTypeDefaultDescription
any_list*
index_listINTThe index of the items you want to select from the list. Use negative values to select from the end (e.g., -1 for last item, -2 for second to last).

Outputs (1)

NameTypeDescription
any_list*