Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Trigger Animation by Position

  • Trigger Animation by Position

    Posted by Andy Wölfl on October 13, 2018 at 1:09 pm

    Hello everybody,

    first of all, I wasn’t really sure how to put the title so here is a video and afterwards the explanation what I want to achieve:
    https://youtu.be/gKhN1CBId2A

    I would like the Shape-Layer “particle” start to animate from it’s current yPosition towards a predefined yPosition as soon as the “threshold” rises and pases the “particle”.

    I have a basic knowledge of Expressions and tried some things so far, but did not achieve what I have in mind.

    Any suggestions are welcome.

    In case you want to download the AfterEffects file (CC2018), here is the link:
    https://www.dropbox.com/s/qk7l0lz0r0ocon3/ExpressionTrigger.aep?dl=0

    Thanks for your help.

    Some contents or functionalities here are not available due to your cookie preferences!

    This happens because the functionality/content marked as “Google Youtube” uses cookies that you choosed to keep disabled. In order to view this content or use this functionality, please enable cookies: click here to open your cookie preferences.

    Andy Wölfl replied 7 years, 7 months ago 2 Members · 3 Replies
  • 3 Replies
  • Gonçalo Silva

    October 13, 2018 at 4:46 pm

    Try this ,

    Paste this on “particle” -> Transform -> X Position :

    Hope this will help

    t = time;
    if(thisComp.layer("threshold").transform.yPosition.valueAtTime(t) < transform.yPosition.valueAtTime(t)){
    loopOut('cycle');
    }
    else {
    key(1);
    }

  • Gonçalo Silva

    October 13, 2018 at 6:14 pm

    Here it is the corrected one :

    t = time;

    if(thisComp.layer("threshold").transform.yPosition.valueAtTime(t) < transform.yPosition.valueAtTime(t)){
    easeIn(time,inPoint+5,inPoint+9,transform.yPosition.value,500);
    }
    else {
    transform.yPosition;
    }

  • Andy Wölfl

    October 13, 2018 at 6:22 pm

    Here a video how I should look like:
    https://youtu.be/O1NRQh32-XI

    Some contents or functionalities here are not available due to your cookie preferences!

    This happens because the functionality/content marked as “Google Youtube” uses cookies that you choosed to keep disabled. In order to view this content or use this functionality, please enable cookies: click here to open your cookie preferences.

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