
Generate a random number as an expression value.
seedRandom(index, true);
x = random(500);
[x + value[0], x + value[1]];
x = random(500);
[x + value[0], x + value[1]];
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.
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
