Expression Library

Random Value

Author: Dan Ebberts

Automatically generates random values at every frame for whatever property you apply it to.

Other Notes

In its basic format, random(maxValOrArray), the expression will deliver a random value between 0 and that maximum value you’ve specified. For example, random(1000) would deliver a number between 0 and 1000). If you want to set a minimum value just use this variation random(minValOrArray, maxValOrArray). The tutorial below from School of Motion provides a more thorough walkthrough and discusses additional options for controlling the distribution of random values. The second tutorial from, Jake in Motion, describes instances in which Random is a preferable alternative to Wiggle.