Copy link to clipboard
Copied
So I've been using this script ALL the time:
//loop in AND out:
if (time < key(1).time) loopIn();
if (time >= key(1).time && time <= key(numKeys).time) value;
if (time > key(numKeys).time) loopOut();
What is does is, it not only loops keyframes IN but also OUT. Extremely handy.
However, it no longer works in the Javascript version. Only in the Legacy version of the After Effects Expressions. I'm not super script savvy, and I'm wondering what would make this script work again!
If you make it work I will promise you it will make a lot of people happy when they find it haha... (I use it everywhere).
Thank you!
if (time < key(1).time) loopIn();
else loopOut();
Copy link to clipboard
Copied
if (time < key(1).time) loopIn();
else loopOut();
Copy link to clipboard
Copied
This seems to work perfectly! It's much shorter too! Thank you very much for your quick answer