4 Replies Latest reply on Jun 6, 2017 4:15 AM by THExDUKE

    Combine two expressions for one element

    THExDUKE

      Hello community,

       

      I have several objects where I have parented the transform y to a null object. But I also have to limit the different y values for each object individually. So I have the parent code: comp("00_MASTER").layer("Null 5").transform.yPosition and the clamp code: clamp(value,152,521).

      But since they are both on the transform y, I have difficulties to get them both run at once. How should I put them both in one?

       

      comp("00_TAIL_BEHIND_NEEDLE_MASTER").layer("Null 5").transform.yPosition;

      clamp(value,152,521);

       

      Do they need to be separted by a semicolon or a comma? I don´t get it.

      I highly appretiate any helpful hints.

       

      Thanks in advance

      E.