Skip to main content
Participant
July 28, 2022
Question

Multiple loops in a single layer

  • July 28, 2022
  • 2 replies
  • 227 views

Hello everybody! 

I Know how to loop a number of last keyframes like this:

x = 8 // number of last keyframes

loopOut("cycle",x)

OK. It's for the last keyframes. what if the selected keyframes were in the beginning or in the middle or even randomly between several keyframes. One here an other one there. the other one somewhere else! To be precise, I want to animate a human walks a pass. Then stops. Do something else. Then runs out of composition. Walking and running are looped array of key frames. I'm looking for an expression which loopin the related array of key frames for walking and loopout an other array of key frames for running. So the key frames between those two arrays wont loop.

This topic has been closed for replies.

2 replies

Mylenium
Legend
July 28, 2022

Why make things so complicated? Simply pre-compose the walk cycle, loop it and then chop it into segments as needed, then use duplicate comps for the other actions.

 

Mylenium

Participant
August 6, 2022

Well it's not a job for a client! it's a self challenge!

Dan Ebberts
Community Expert
Community Expert
July 28, 2022

This isn't exactly what you're asking for, but it describes a similar concept, using markers to define various keyframed "actions":

http://www.motionscript.com/design-guide/marker-sync.html