Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Applying loopIn() to an existing expression

  • Applying loopIn() to an existing expression

    Posted by Adhish Yajnik on May 27, 2016 at 7:09 am

    I’m sure this is simple, but it’s throwing me for a loop 🙂

    effect("CC Particle World")("Position Y")+effect("Position Offset")("Point")[1]/100;
    loopIn("continue")

    The above expression executes the loopIn() while completely ignoring the first line of code. How do I apply the loopIn() to the values resulting from the first line?

    Thanks!

    Adhish Yajnik replied 9 years, 11 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    May 27, 2016 at 5:08 pm

    loopIn() works with property values. Usually you don’t specify the property and the expression engine assumes you mean the property hosting the expression. It could be any property though. In your case, you probably need to apply it to one or both of the properties you’re adding together like this:

    effect(“CC Particle World”)(“Position Y”).loopIn(“continue”)+effect(“Position Offset”)(“Point”)[1]/100;

    or this:

    effect(“CC Particle World”)(“Position Y”)+effect(“Position Offset”)(“Point”).loopIn(“continue”)[1]/100;

    Dan

  • Adhish Yajnik

    May 28, 2016 at 8:31 pm

    Thanks Dan! That worked!

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy