Look At Target
Automatically rotates the layer to face a target layer.
Code
target = thisComp.layer("Target");
lookAt(position, target.position)
lookAtrotationanimation
How to Use
Apply this to the Rotation property so your layer always points toward another layer. Rename the target layer to 'Target' or change the expression accordingly.