Forum Replies Created

Page 2 of 2
  • Francesco Bona

    August 21, 2018 at 4:28 pm in reply to: How to freeze an expression at a specific time

    Wow!! Much more synthetic and functional! Thanks so much!
    But now I undertand I need to do one more question.. I’m sorry ..I used “wiggle” as an easy expression example hoping to adapt your suggestions to my real and bigger problem.
    My real intent was to understand how to freeze at a specific time any expression..

    This is my real mission: freezing at a specific time this expression that keeps a shape linked to the bottom margin of another shape even if its scale is changing…

    a=thisComp.layer("01"); // Key object
    d=30; // Distance
    s=a.transform.scale[1];
    apos=a.transform.position[1];
    ah=a.sourceRectAtTime(time).height/2;
    s1=transform.scale[1];
    h=thisLayer.sourceRectAtTime(time).height/2;

    [180 , apos+(ah*s/100)+(h*s1/100)+d]

    How can I freeze this expression for example at frame 50? I don’t understand how to use “Math.min”
    Thanks again…..

  • ????????????That is the procedure I have used so far! I swear!
    I did not say that because I thought it was a method for newbies like me ..
    So it’s official: there’s no a simple way to do such a simple thing .. Unbelievable!
    But thank you very much ! I promise I will not report you! ????

  • I’m really sorry! I clicked “report post” instead of “replay” !!! ……
    Anyway I have no idea how to use the extendedscript toolkit …

Page 2 of 2

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