Wiggle With Offset expression

This expression wiggles a layer randomly between two values in both the X and Y dimensions. It’s perfect for adding natural, organic movements to layers in your composition and is applied to the Position property.
min = -10; // minimum value
max = 50; // maximum value
f = 5; // wiggles per second
a = Math.abs(max-min)/2; // amount to wiggle
offset = (max+min)/2;
wiggle(f, a) + offset;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.