Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
ADOBE AFTER EFFECTS: HomeForumBasicsExpressionsTutorialsPodcastsMotion GraphicsTrainingCinema 4DFAQ

width highly inacurate

Cow Forums : Adobe After Effects Expressions

<< PREVIOUS THREAD   •   VIEW ALL THREADS   •   PRINT   •   NEXT THREAD >>
width highly inacurate
by Reynaldo Cortorreal on Jul 2, 2009 at 9:11:34 pm

the width of a layer returns the width of the entire layer before scaling and pixel aspect ratio being applied. Is there anything that will give me the width of the layer on the composition?

it took me a while to figure out why xPosition=width/2 did not work to place a layer on the border.

Respond to this post   •   Return to posts index


Re: width highly inacurate
by Dan Ebberts on Jul 3, 2009 at 2:57:37 am

This should give you the width in most cases:

length(toWorld([width,0]), toWorld([0,0]))



Dan



Respond to this post   •   Return to posts index

<< PREVIOUS THREAD   •   VIEW ALL THREADS   •   PRINT   •   NEXT THREAD >>


FORUMSTUTORIALSMAGAZINETRAININGVIDEOS - REELSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

© CreativeCOW.net All rights are reserved.

[Top]