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/LIST
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| list | LIST | — | |
| index | INT | 0 | — |
| value | * | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| LIST | LIST | — |