Skip to main content
Rizaldifadly
Participant
July 12, 2021
Question

How to Hold Loop Expression or loop path for few sec/frame ?

  • July 12, 2021
  • 2 replies
  • 2881 views

Guys, how to hold expression loop/loop path for few sec/frame ?

 

i using 

loopOut("cycle",0)

 

and for path

valueAtTime(time % key(numKeys).time)

 

i need the loop for 3 sec and start again after that

what should i do ? 

thanks 

This topic has been closed for replies.

2 replies

ShiveringCactus
Community Expert
Community Expert
July 14, 2021

With loopOut, I usually specify the number of keyframes to loop, so for a standard continuous loop, I'd use looOut("cycle",2), if i wanted to add a pause, I'd add a third keyframe, same value as the second, and set the expression to be loopOut("cycle",3).  AE should then run the loop, wait for the time length inbetween keyframes 2 and 3 and then start the loop again.

 

I'm not sure what the path expression is doing in this situation though.

Mylenium
Legend
July 13, 2021

Simply split the layer in suitable segments and remove the expression from the hold section. Keep it simple!

 

Mylenium

Rizaldifadly
Participant
July 14, 2021

like stack the layer ? i'll try.

thanks for big help mate.