Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Question about % function

  • Question about % function

    Posted by John Winthrop on November 8, 2016 at 3:21 pm

    I have gotten some great expressions here from people for looping expressions by essentially replacing all “time” inputs with “t” where “t=time%1”. This makes the expression essentially “restart” ever 1 second or for “time%2” every 2 seconds.

    It always works perfectly well, but for conceptual purposes I would like to know what exactly the % function in javascript does to make this happen. I cannot find it on any websites about Javascript or After Effects Expressions. Is this specific to “time” or can it do similar things to other variables.

    Xavier Gomez replied 9 years, 6 months ago 2 Members · 1 Reply
  • 1 Reply

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