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.
set item
- list
- value
- list
◄index0►
CategoryBasic/Data List
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| list | * | — | |
| index | INT | 0 | — |
| value | * | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| list | * | — |