Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects getting keyframe info for expression from time re-map

  • getting keyframe info for expression from time re-map

    Posted by Aled Rhys jones on July 18, 2007 at 3:21 pm

    Hi,

    I need to get the value in seconds between keyframe 1 and 2 on a time re-map I’ve set up to use in an expression…

    Is this possible?

    Many Thanks

    Aled

    Aled Rhys jones replied 18 years, 10 months ago 2 Members · 2 Replies
  • 2 Replies
  • Darby Edelen

    July 18, 2007 at 3:31 pm

    This expression assumes that you want to know the time between the first and second keyframes, you can change it to be more flexible or just to fit your needs:


    t1 = key(1).time;
    t2 = key(2).time;
    t = t2 - t1;

    Darby Edelen
    DVD Menu Artist
    Left Coast Digital
    Aptos, CA

  • Aled Rhys jones

    July 18, 2007 at 4:36 pm

    Hey Derby,

    Many thanks for that… works brilliantly, simple too!

    Nice One.

    Al

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