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

help with change precomp size(weight and height via script)

$
0
0

Hi guys, need help with change precomp size(weight and height  via script), my problem in this... when i change comp size(weight and height) from AE GUI, AE change comp size from center composition, but if i change size of comp from my script it change it from left top corner.... so i need some how change in script center of composition or something like this?

 

 

now i do change size with this code

Mycomp.width=Mycomp.width.width+50;

Mycomp.height=Mycomp.width+50;


Viewing all articles
Browse latest Browse all 2143


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