Quantcast
Channel: Adobe Community : Discussion List - After Effects Scripting
Viewing all articles
Browse latest Browse all 2143

Centering the anchor point

$
0
0

Is there an easy way to set the anchor point of a layer right in its center using script?

 

Currently, my script adds text layers to the active composition and styles the text. The things is I need the anchor point to be straight in the middle of the layer to make some position calculations.

 

By default, it seems to be set to the center/bottom of the text. (X/Y)

 

Thanks in advance


Viewing all articles
Browse latest Browse all 2143

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>