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

how to keep anchor in middle while changing height and width for comp in extendscript?

$
0
0

When i try to change my composition height and width using extendScript, it works but with anchor point at top left corner. How do I maintain it at the center??

My code:

comp.width = 4000;

comp.height= 4000;

result:

result.jpg

 

expected:

expected.jpg

Thank you


Viewing all articles
Browse latest Browse all 2143

Trending Articles



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