-
Stop wiggle after x frames based on layers in point
I have this wonderful piece of code (courtesy of Dan)…
stopFrame = 100;
t = Math.min(time,framesToTime(stopFrame));
wiggle(3,10,1,.5,t)
… which I am using to stop the wiggle expression after 100 frames, however I would like to be able to move my layers around on the timeline but still have the wiggle expression stop after 100 frames.
So can the stopFrame be based on the layers in Point. Is that possible??