Generate Random Number expression in After Effects

3 min
Details (3 min read)

Generate a random number as an expression value.
seedRandom(index, true);
x = random(500);
[x + value[0], x + value[1]];
-50%
-50%
00hrs : 00mins : 00sec
Happy HolidaysSale sitewide
Shop now
Note that the expression is for a 2-dimensional property like Scale or Position.
If you need it to work with properties like Opacity or Rotation, use this one instead:
seedRandom(index, true);
x = random(500);
x;Pro tip: Go to AEJuice Pack Manager – Expressions Pack to apply this expression in 1 click. Here are direct links for the latest plugin version:
Windows / macOS  Click here to receive more tips by email.

Get 10% off when you subscribe to our newsletter

By subscribing you agree to your email being stored and used to receive the emails in accordance to our Privacy Policy
descount

Our Bestsellers

Summary ( min read)

Our Bestsellers