AfterEffects
Expressions
/
Expression examples
Example: Flip layer horizontally if facing away from camera
Apply the following expression to a 3D layer’s Scale property:
if (toCompVec([0, 0, 1])[2] > 0 ) value else [-value[0], value[1], value[2]]
Add, edit, and remove expressions
Create a camera layer and change camera settings
This page on the Web