# SetRandomSeed

## Description

Sets the seed for the random number generator. Two AGK applications using the same seed value will generate the same sequence of random numbers. By default the seed is set to the current time on startup so that each run of the application will generate a different sequence of numbers.

## Definition

SetRandomSeed( seed )

void agk::SetRandomSeed( UINT seed )

## Parameters

- seed - The seed value, between 1 and 2^32