-
Question about % function
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.