ARC Pro

Upgrade to ARC Pro

Get access to the latest features and updates before they're released. You'll have everything that's needed to unleash your robot's potential!

getRandom

Utility.getRandom(min, max)

Parameters

min Inclusive lower bound on the random integer.
max Exclusive upper bound on the random integer.

Returns

Random integer between min (inclusive) and max (exclusive).

Description

Returns a random integer between min (inclusive) and max (exclusive).