Calculates the angle between two layers and points one to another.
target = thisComp.layer("Target"); targetPos = target.toWorld(target.anchorPoint); delta = targetPos - thisLayer.position; radians = Math.atan2(delta[1], delta[0]); radiansToDegrees(radians);
Scaling an object based on its distance from another object in the scene.
Aligning a layer to always face a target layer.
Gradually increasing a layer’s scale from 50% to 150% over 2 seconds.
Fading a color from white to black over 5 seconds.
Slowing down a video clip by half its speed using time remapping.
Gradually changing the scale of an object from 0 to 100% over 5 seconds.