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

move a existing Key to a specific Time

$
0
0

Hello all,

 

For a client, I am trying  to move a existing key to a specific time.

Do you know if it's possible to do this kind of stuff or not all?

 

If I select my key like this:

var activeItem = app.project.activeItem;

var theLayers = app.project.activeItem.selectedLayers;

var theLayer = theLayers[0];

var myKey = theLayer.position.setSelectedAtKey(3, true);

 

Can I move it to a specific time?

Or should I get all the value and the interpolation to set to a new keyFrame?

 

Cheers


Viewing all articles
Browse latest Browse all 2143

Trending Articles



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