Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions offset keyframes

  • Posted by Ethan Dolan on March 25, 2019 at 6:33 pm

    I am trying to offset position keyframes according to the opacity value of another layer. Basically i have 4 keyframes, first two are starting animation and the last two ending. what i want to do is offset last pair of keyframe according to the opacity of another layer. This is not working. Here’s what’s my code looks like (i have created the num value so that the code will only work after specific time without affecting the of pair of starting keyframe ).

    Any help would be much appreciated!!

    var op = transform.opacity;
    var num = time*20;
    if(op == 100 && num > 80 ){
    valueAtTime(time - 6.2);

    }
    else
    value;

    Ethan Dolan replied 7 years, 1 month ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

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