FORUMS: list search recent posts

How to time remap layer using scripting?

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Jeremy Paul
How to time remap layer using scripting?
on Dec 18, 2018 at 5:26:33 pm

I have a AVLayer that is 6s long. I'd like to slow down the first 2 seconds, speed up the 2-4s part and then again slow down the final 2 seconds.

I am totally lost when it comes to scripting keyframes.. I am even more lost now, because there is no "move" functionality when it comes to keyframes. Has anyone tried using time remap with scripting? I'd love to see some examples.

This is my starting code:

var layer = containerComp.layers[layerIndex];
layer.timeRemapEnabled = true; // sets 2 keyframes at start and end of the layer

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2020 All Rights Reserved