-
time expression with 60fps – unexpected results
I tried to use Dan Ebbert’s script below to hold a position of a layer for 12 seconds. Unfortunately I’m working with 60fps and the script doesn’t work as it should. It holds the position for more than 12 seconds.
I haven’t fully grasped what the “time” function actually delivers. Especially with higher frame rates. Any help is much appreciated.
holdTime = 12; //time to hold each position (seconds)
seed = Math.floor(time/holdTime);
seedRandom(seed,true);
random([thisComp.width, thisComp.height])