Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Change keyframe value using expression

  • Change keyframe value using expression

    Posted by Doni Donovan on March 12, 2019 at 2:26 am

    I found this script a couple month ago..
    Is there a chance to tweak it so i can change the value for all/both keyframes?

    keyNumToChange = 2; //change this - the key num to change(numbering starts at 1)
    newVal = [value[0],100]; //change this - the new size.
    target = transform.position;
    //-------
    nearKey = target.nearestKey(time).index;
    lastKey =(target.key(nearKey).time>time) ?((nearKey>1) ? nearKey-1 : nearKey) : nearKey;
    nextKey =(lastKey

    Thanks for reply 🙂

    Doni Donovan replied 7 years, 2 months 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