Copy link to clipboard
Copied
Copy link to clipboard
Copied
Go into Rectangle 1 -> Size and there you have all the values, you need.
Cheers,
Martin
Copy link to clipboard
Copied
thanks! but i still can‘t get the exact size of the rectangle (i want the value is exact and is expressed with exact units(px)).
thanks!
Copy link to clipboard
Copied
Is your question how to deal with expressions or how to access the width of a shape layer?
Do you want to SET or want to GET the width via expressions?
To set the width, it's as easy as this - applied to Rectangle Path -> Size
[500, value[1]];
To get the width, you apply this on an different layer:
thisComp.layer("Shape Layer 1").content("Rectangle 1").content("Rectangle Path 1").size[0]
I hope, this helps!
*Martin
Copy link to clipboard
Copied
Thanks!This is useful!(i‘m so sorry for not replying you as soon as possible).