Top 10 Easy AE Expressions
1. Loopout
Add one of these expressions to a property with two or more keyframes.
loopOut(“continue”)
loopOut(“cycle”)
loopOut(“pingpong”)
loopOut(“offset”)
2. Wiggle
You can add these expressions to your layer’s Position property. First number is frequency and second is amount. Easy way to remember:
HOW OFTEN and HOW MUCH
If you want to wiggle scale uniformly, apply this expression to your Scale property:
3. lasso to slider
4. Bake Expressions
5. Ferris Wheel effect
6. Lasso to link properties
7. Time
8. +Value
9. Posterize Time
Yes, you can change the frame rate of an entire comp in the comp settings, and you can add the “Posterize Time” effect to a single layer, but with this expression you can change the frame rate of a single PROPERTY! Add this expression to the property, change the number to the frame rate you want and BOOM — Bob’s your stepdad:
posterizeTime(12); value;
10. lasso to another comp
Use the expression lasso to link a property value in a precomp to your main comp so you don’t have to keep digging back and forth between all of your comps!
BONUS:
Maintain stroke width
I discovered this one on Tumblr, posted by Adam Plouff. Add this to the stroke value of your shape layer and the stroke width will stay consistent as you resize your layer:
value / length(toComp([0,0]), toComp([0.7071,0.7071])) || 0.001;
MAINTAIN SCALE WHEN PARENTED
Discovered from Ben Marriot’s own “Top Ten AE Expressions” video:
s = [];
ps = parent.transform.scale.value;
for (i = 0; i < ps.length; i++){
s[i] = value[i]*100/ps[i];
}
s