Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Giving two different expressions for same layer property

  • Giving two different expressions for same layer property

    Posted by Adam Levine on February 20, 2015 at 6:49 pm

    I think this is a so stupid to ask… 🙂 But I want to know this… Is there anyway to give two different expressions for same layer property (keyframes)
    I tried it ..But It didn’t work.

    I tried,after making keyframes for layer position I give it to custom expression..Then also I used for that keyframes
    to Ease and Wizz plugin expression … after that second expression that mean Ease and Wizz expression worked perfectly..But my first custom expression didn’t work..

    After that I give first Ease and Wizz expression and secondly my custom expression.. that time my custom expression worked perfectly and Ease and Wizz didn’t…

    Can anyone give me an idea…
    Thank you.

    Adam Levine replied 11 years, 5 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    February 20, 2015 at 7:25 pm

    You can’t just put one expression after the other–the last one wins (as you’ve discovered). You have to combine the results, but I don’t know that there’s a general explanation for how to do that. You may need a conditional that says “if this, do the first expression, else do the second one”. Or you may need to save the result of each expression into a variable and somehow then combine them at the end of the expression. One problem is that Ease and Wizz generates a lot of code and it’s not always easy to figure out exactly what it’s doing.

    Dan

  • Adam Levine

    February 20, 2015 at 9:06 pm

    Thank you Master Dan for your quick reply…. I really appreciate about your answer.. Then I’ve nothing to do for that problem… 🙂

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