ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

How to stop a looping expression

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Alice Bassey
How to stop a looping expression
on Sep 18, 2018 at 3:52:55 pm

Hello,

I am really new to expressions and have added a loopOut("pingpong") expression to a repeater. I want it to stop after about 3/4 seconds leaving the original shape behind. Is it possible?

Thanks


Return to posts index

Dan Ebberts
Re: How to stop a looping expression
on Sep 18, 2018 at 4:37:02 pm

This is one way, but it might not be exactly what you're after:


if (time - inPoint < .75){
loopOut("pingpong");
}else
valueAtTime(inPoint)



Dan



Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]