# Random

## Description

Generates a random number based on the current seed value. The random number generator is built into AGK so a particular seed value will produce the same sequence of numbers on every platform. Produces a random number between 0 and 65535

## Definition

integer Random( )

UINT agk::Random( )

integer Random( from, to )

UINT agk::Random( UINT from, UINT to )

## Parameters

- from - The lowest value to return
- to - The highest value to return