Looping an expression with no keyframes
I am trying to loop a property that has no keyframes and is only driven by a time expression, but I keep getting an error that the loop expression is looking for keyframes.
Here is what I have so far:
I am using the Beam effect, it’s Time property, I want it to cycle between 0>100 over the period of 1 second (but I want to be able to adjust that with an expression slider, hence why I am not simply placing keyframes):
time * (100); //This makes a line shoot across the screen over the period of 1 second
I want that to cycle. But when I try to add loop, after effects asks for keyframes, here is what I’m trying:
time * 100;
Anyone know of a way to make this work?
Thanks in advance for the help!