Sergei Prokhnevskiy shows us how to trigger a property based on another layer’s distance in After Effects, perfect for creating the hover effect.
In this video, Sergei Prokhnevskiy from ukramedia demonstrates how to create a hovering effect using expressions and no keyframes in After Effects.
If you are ever tasked with animating interfaces in After Effects, know that keying all the elements is not a great option. Even when working on something as simple and innocent-looking like screen replacement VFX shots where automation becomes even more important because there’s lot of little things happening at once–creating an automated setup seems to make sense for this type situation!
How To Create a Hover-Over Effect in After Effects
Prokhnevskiy uses some simple expressions in After Effects that work based on the distance of another layer. This way, when one layer comes closer to another element in your scene, you can set this element’s properties (elements) so it reacts somehow! With interface elements like rollover effects and color changes are possible too – just choose what best suits each situation during composition time.
The technique shown here by Prokhnevskiy is kind of similar to another quick tip that showed how to trigger animation using markers in After Effects. Both use expressions, which are conditions for actions or events at runtime, and run-time parameters respectively;
They can be used either programmatically within code (Prok) or on an object’s timeline via keyframe data–the latter being more often seen with simpler applications like 2D movement types where some values just need tweaking while others change depending upon something else happening nearby (such as button presses).