ComfyUI Node

pop random

Removes and returns a random element from a SET. This node takes a SET as input and returns the SET with a random element removed and the removed element itself. If the SET is empty, it returns None for the element. An optional seed can be provided for reproducible selection.

By StableLlama·Created about a year ago·Updated 25 days ago· 45
pop random
  • set
  • set
  • item
seed0
CategoryBasic/SET

Inputs (2)

NameTypeDefaultDescription
setSET
seedoptINT00–18446744073709550000

Outputs (2)

NameTypeDescription
setSET
item*