Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity › Forums › Adobe After Effects Expressions › timeToFrames() expression will not work. AE CC 2020

  • timeToFrames() expression will not work. AE CC 2020

    Posted by Jeroen Steens on January 12, 2020 at 9:47 pm

    I’m trying to use this expression but for some reason I can’t get the timeToFrames() expression to work.
    In fact, it won’t even show up as a suggestion when typing it.


    if ((timeToF() % 3) == 0) {
    100*random(1)
    }

    Dan Ebberts replied 6 years, 8 months ago 2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    January 12, 2020 at 10:46 pm

    You have to give it a result when the frame number isn’t divisible by 3, like this:


    if ((timeToFrames() % 3) == 0) {
    100*random(1)
    }else
    value

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