Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Keframe Duration

  • Darby Edelen

    February 19, 2008 at 11:33 pm

    What do you mean by ‘get the duration’? If you want to know how many seconds separate the two keyframes you need an expression such as:


    k1 = position.key(1).time; //Time of the first position keyframe
    k2 = position.key(2).time; //Time of the second position keyframe

    k2 - k1; //Difference in time in seconds

    Which would return the difference in time between the first and second keyframes of the layer’s position property.

    If you mean something else, please try to rephrase the question.

    Darby Edelen
    Designer
    Left Coast Digital
    Santa Cruz, CA

  • Chris Abolt

    February 20, 2008 at 2:10 pm

    That is exactly what I meant. This will work.

    Chris Abolt
    Motion designer
    Abolt Media

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