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

how to set value at time of rotation in extend script

$
0
0

i know how to set value at time of scale, opacity and position, but for some reason rotation doesnt work for me.

 

i write scale for example as

 

var x1s = app.project.item(3).layer(1).property("ADBE Transform Group").property("ADBE Scale");

 

x1s.setValueAtTime([0], [360, 0]);

 

 

but when i write rotation as

 

var x1r = app.project.item(3).layer(1).property("ADBE Transform Group").property("ADBE Rotation");

 

x1r.setValueAtTime([0], [360, 0]);

 

 

it doesnt work. anybody knows why?


Viewing all articles
Browse latest Browse all 2143

Trending Articles



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