How to create a random number within an expression

Basically, randoms but in expressions. I just need to know how to do it and how to set a minimum and a maximum.

Math.random()

Nothing goes in the parenthesis and will give a value between 0 and 1.
To make a Max, multiply the value by the max you want.
Also, I suggest rounding these random values.

2 Likes