Calculates the center point of a text layer, based on its bounding box.
top = sourceRectAtTime().top; left = sourceRectAtTime().left; x = left + (sourceRectAtTime().width / 2); y = top + (sourceRectAtTime().height / 2); [x,y]
Center Anchor Point Expression
Practical use case
Calculates the center point of a text layer, based on its bounding box.
Check out similar expressions
Transformation
Parent Position Offset Expression
Offsetting a child layer’s position by 100 pixels relative to its parent.