Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions individual Keyframe expression

  • individual Keyframe expression

    Posted by Alex Weil on April 25, 2018 at 12:38 pm

    and again a Keyframe expression question, i found a ton of it but i think i dindnt find the one answer that i am looking for.

    i try to make it as simple as i can

    i have to keyframes with different velocity
    now i want to tell the keyframes their value via an expression
    something like that

    keyframe: thisLayer.height-thisLayer.height;
    keyframe2: thisLayer.height;

    it it possible without loosing my custom Velocity options?
    i often asked myself that question because sometimes i think its very convenient to just write the value of an keyframe down or change it via an expression, no matter how much keyframes i have on a layer

    cheers
    Alex

    Alex Weil replied 8 years ago 1 Member · 1 Reply
  • 1 Reply
  • Alex Weil

    April 26, 2018 at 7:33 am

    okay solved the problem now with a Slider from 0 to 100, some expressions and a linear-function

    p1 = thisLayer.height-thisLayer.height;
    p2 = thisLayer.height;
    p0 = thisLayer.width/2;

    slider = effect("Slider Control")("Slider");
    linear(slider,100,0,[p0,p1],[p0,p2])

    i combined that expression with a linear wipe and got a nice drop in animation without an extra Matte Layer.

    but my second question is still standing, can i define the value of every keyframe i set in my expression?

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