set item

Basic data handling: DataListSetItem

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.

Pack: Basic data handling

custom_nodes.ComfyUI-basic_data_handling

Inputs (3)

NameTypeRequired
list*required
indexINTrequired
value*required

Outputs (1)

NameType
list*