Reference library > Stochastic > RandomChoice
RandomChoice
RandomChoice(values=std::vector<float> ( ), clock=None, reset=None)
Pick a random value from the given array. If a clock is passed, only picks a new value on a clock tick. To generate and hold an unchanging random value, pass clock=0.