Scales an object based on its distance from a reference point.
linear(length(position, [500, 500]), 0, 1000, 100, 0)
Scales the layer based on its distance from the point [500, 500]
Perfect for elements that need stable orientation despite parent layer rotations, like fixed icons or labels.
Ideal for creating interaction effects, like eyes or arrows that follow a moving object.
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.