Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Set rove keyframes via script

  • Set rove keyframes via script

    Posted by Otávio Nascimento on June 19, 2023 at 5:51 pm

    Hello,
    Im trying to set rove keyframes via script but it’s not working. What is the correct way of doing it?

    var layer = app.project.activeItem.selectedLayers[0];
    var property = layer.property("Position");
    var keyIndex = 2;
    property.setRovingAtKey(keyIndex, true);

    Otávio Nascimento replied 2 years, 11 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    June 19, 2023 at 6:12 pm

    It works for me. It must be something in the way you have things set up.

  • Otávio Nascimento

    June 19, 2023 at 7:10 pm

    It worked now. I was trying to add rove to the last keyframe so it wasn’t working. Thanks!

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy