rand function

float rand()
float rand(max)
float rand(min, max)

min float Lower bound. Default is 0.

max float Upper bound. Default is 1.

Returns a random value in [min, max]. The value depends on the current shape's seedian.

Related