Skip to main content
Participant
March 10, 2021
Question

looping a path's movement?

  • March 10, 2021
  • 1 reply
  • 608 views

Is there a way to loopOut a path in AE 2020?

This topic has been closed for replies.

1 reply

Community Expert
March 10, 2021

You do not give much information but if you mean to follow a Path as if it were a path on a map, yes there is, there are several ways to do it, you could try to do the animation in position first, you apply the LoopOut expression so that the movement is repeated and if it is necessary to apply an Auto-Orient from the Layer / Transform menu.

Byron.
Participant
March 10, 2021

I've a shape made with pen tool and want it to change it's form(path) continuously looping...

 

I added 3 keyframes and the expression of loopOut("continuous") but I get an error

Dan Ebberts
Community Expert
Community Expert
March 10, 2021

I can't tell from your question if you're trying to do loopOut("cycle") or loopOut("continue"). I can't think of a way to do the "continue" version, but you can wrangle your own version of "cycle" by using valueAtTime(), like this:

if (numKeys >1){
  if (time > key(numKeys).time){
    t = (time - key(numKeys).time)%(key(numKeys).time - key(1).time);
    valueAtTime(key(1).time + t);
  }else{
    value;
  }
}else
  value