ComfyUI Node
pop random
Removes and returns a random element from a list. This node takes a list as input and returns the list with the random element removed and the removed element itself. If the list is empty, it returns None for the element. An optional seed can be provided for reproducible selection.
pop random
- list
- list
- item
◄seed0►
CategoryBasic/Data List
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| list | * | — | |
| seedopt | INT | 00–18446744073709550000 | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| list | * | — |
| item | * | — |