seedRandom

seedRandom(seed: Integer);

The seedRandom method of the Application class initializes the random number generator. To set the random number generator with a new value, call this method, specifying the required value in the seed parameter.

Each application starts with a random seed value.

See also the Application class random and random31 methods.