Dreamy Rotation: Mastering Look At Expression in AE

Create a trailing rotation effect for a layer using the Look At expression. It enables a layer to follow and orient itself toward another target layer, producing dynamic and realistic animation. Typically, this expression is applied to the Rotation property.
Target = thisComp.layer(“targetLayer”);
delta = thisLayer.toComp([0,0]) – Target.toComp([0,0]);
radiansToDegrees(Math.atan2(delta[1],delta[0]))+value0*replace “targetLayer” to your name of layer
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.