Quantcast
Channel: Adobe Community : All Content - After Effects
Viewing all articles
Browse latest Browse all 49102

Combine two expressions for one element

$
0
0

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.


Viewing all articles
Browse latest Browse all 49102

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>