ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

expression: thisLayer.width taking comp width instead of shape width

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
mati kowalski
expression: thisLayer.width taking comp width instead of shape width
on Jul 28, 2020 at 2:19:11 pm

as in the title, my shape is 50x50 and expression shows that objects width is comp width 936.


Return to posts index

mati kowalski
Re: expression: thisLayer.width taking comp width instead of shape width
on Jul 28, 2020 at 2:40:51 pm

ok i think i figured it out myself i just pickwhiped the value and get some like this:

thisComp.layer("blueBall").content("Ellipse 1").content("Ellipse Path 1").size[1]


Return to posts index

Chaz Chester
Re: expression: thisLayer.width taking comp width instead of shape width
on Jul 29, 2020 at 11:30:00 pm

I think the expression you were looking for is
thisLayer.sourceRectAtTime().width


Return to posts index


mati kowalski
Re: expression: thisLayer.width taking comp width instead of shape width
on Jul 31, 2020 at 5:49:29 pm

yes, thanks is that what i was looking for (my method works too but its kinda long)


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2020 CreativeCOW.net All Rights Reserved
[TOP]