Forum Replies Created

  • Alborz Riazi

    May 20, 2024 at 12:47 pm in reply to: get time at a value

    Thanks a million, this helped a lot.
    btw I had to tweak the code just a tad to compensate for the decimal values in my property values. it couldn’t find the frame

    var compLength = thisComp.duration / thisComp.frameDuration;
    var property = thisComp.layer("A").text.animator("X").selector("Y").start;
    var flag = false;
    var wantedFrame;
    
    for (var i = 0; i <= compLength; i++) {
        if (Math.round(property.valueAtTime(i * thisComp.frameDuration)) == 100)
        {flag = true; wantedFrame = i}
    
        if (flag == true) {break}
    }
    
    wantedFrame;
  • Alborz Riazi

    May 29, 2021 at 12:50 am in reply to: An expression to colour specific words in text

    Nearly two years after you posted this, it helped me loads. Thanks a million for the great expression.

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