Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions width highly inacurate

  • width highly inacurate

    Posted by Reynaldo Cortorreal on July 2, 2009 at 9:11 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.

    Dan Ebberts replied 17 years, 1 month ago 2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    July 3, 2009 at 2:57 am

    This should give you the width in most cases:

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

    Dan

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy