Forum Replies Created

  • Maria Ciszynska

    January 5, 2018 at 3:14 pm in reply to: get time at a value

    I know this thread is old but I have a similar problem and my knowledge of expressions is very basic. So any help greatly appreciated!

    I have a layer which goes from point A to point B, for which I want to create a 1 second overshoot of sorts, so that when it reaches B it moves back a bit.

    The movement is all automated with no keyframes as it’s linked to reveal of a text, so I only have value of B and value after overshoot. I would like to use an Ease expression on it, but I’m missing how to make it last 1 second and start after layer arrives at B. Any thoughts?

    Many Thanks,

    x=transform.xPosition;
    h=thisComp.layer("Dot").effect("Slider Control")("Slider");
    b=thisComp.layer("END OF TEXT").transform.position[0];
    o=thisComp.layer("OVERSHOOT").transform.position[0];
    minVal=g;
    maxVal=g+o;
    h1=(h==g);
    if (h<g) {
    x=h
    } else {
    easeOut(time,h1.time,(h1.time+1),minVal,maxVal)
    }

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