ComfyUI Node

set item

Sets an item at a specified position in a list. This node takes a list, an index, and a value, then returns a new list with the item at the specified index replaced by the value.

By StableLlama·Created about a year ago·Updated 25 days ago· 45
set item
  • list
  • value
  • list
index0
CategoryBasic/Data List

Inputs (3)

NameTypeDefaultDescription
list*
indexINT0
value*

Outputs (1)

NameTypeDescription
list*