View all expressions
Transformation

LookAt Expression in 3D space

Rotates an object to always face another object.


targetLayer = thisComp.layer("Target");
lookAt(thisComp.layer("Point").position, targetLayer.position)

LookAt Expression in 3D space

Practical use case

You want a layer (such as a 3D object or camera) to always face another moving object (the target layer)

Check out similar expressions

Data-driven video workflows for After Effects are easier with Plainly.

a mesh of elegant lines transparent image