This iExpression is applied to the rotation of a 2D layer. It rotates the layer such that it always "looks" towards a given line. Each layer looks at the point of the line that is closest to it. In other words, the direction in which the layers look is perpendicular to the direction of the line. The line has an infinite length and is given by two (arbitrary) points on the line. The rotation can still be adjusted using keyframes as usual.

  • Line Point 1

    is the first point on the line at which the layer should "look".

  • Line Point 2

    is the second point on the line at which the layer should "look".

  • Flip

    flips the rotation such that the layer does not look at the line but looks away from it (i.e. turns its back on it).

Look At Line 2D iExpression

by default applied to: 
can be applied to: 
1D properties
iExpression Bundle: 
Download at

What are iExpressions?

iExpressions are After Effects expressions with an easy to use interface.