Proximity Expression in After Effects

Published: 24 November 2021
on channel: Michael Tierney
28,260
1.1k

▼ After Effects Beginners Course ▼
https://www.domestika.org/en/courses/...

Learn how to create this proximity expression in After Effects. In this easy After Effects tutorial, you will learn how to adjust the scale of shapes using expressions.

▼ Proximity Expression▼
target = thisComp.layer("Target");
dist = Math.floor( length(position, target.position) );
maxSize = thisComp.layer("Target").effect("maxSize")("Slider");
minSize = thisComp.layer("Target").effect("minSize")("Slider");
range = thisComp.layer("Target").effect("range")("Slider");
sensitivity = thisComp.layer("Target").effect("sensitivity")("Slider");
scle = linear(dist, range, sensitivity, maxSize, minSize);
[scle, scle];

▼ Breton Brander Blog ▼
https://bretonbrander.wordpress.com/2...

▼ Overlord Plugin ▼
https://www.battleaxe.co/overlord

-----------------------------------------------

Website: http://tierney.tv
Instagram: http://instagram.tierney.tv
Behance: http://behance.tierney.tv
Youtube: http://youtube.tierney.tv

Thanks for stopping by :)

Michael Tierney
Motion Designer
www.tierney.tv

#AfterEffects #Expressions #Animation


Watch video Proximity Expression in After Effects online without registration, duration hours minute second in high quality. This video was added by user Michael Tierney 24 November 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 28,260 once and liked it 1.1 thousand people.