Hi, I'm wondering how you would set a value to a random number. For example Setting the speed of something from 300 to 400?
Develop games in your browser. Powerful, performant & highly capable.
The function is
Random(Highest number you want returned)
So if you want a number between 0 and 100 it would be
To do between two numbers you would do
This would return a random value between 300 and 400.