Answers.Body: <p>To find the pixel dimensions of a layer in AE,</p>
  
  <p>Hit 's' that brings up scale,
  then right-click Scale to bring up the <strong>Edit-Value</strong> dialog,</p>
  
  <p><a href="https://i.sstatic.net/GadoM.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/GadoM.png" alt="enter image description here"></a> </p>
  
  <p>then set <strong>units</strong> to <strong>pixels</strong>.</p>
  
  <p><a href="https://i.sstatic.net/EPynd.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/EPynd.png" alt="enter image description here"></a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-27T13:53:33.410Z
Answers.Text: When I first read this I thought you were saying that you could change the value in the scale numerical box to pixels, and I was all: "what?! I never knew that!". But then I tried it and realised what you meant. A good suggestion though.
Answers.UserDisplayName: stib
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-27T15:25:57.160Z
Answers.Text: This seems a lot simpler than the current accepted answer. I will need to verify it though. Also, what version of AE are supported?
Answers.UserDisplayName: GiantCowFilms
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-30T07:15:01.180Z
Answers.Text: Yes, if you just want to know the dimensions this is simpler. Doing it with an expression means you can use that value dynamically to drive other things. So it depends on what you want to do.
Answers.UserDisplayName: stib
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-27T02:00:55.100Z
Answers.LastActivityDate: 2016-05-02T12:43:49.463Z
Answers.LastEditDate: 2016-05-02T12:43:49.463Z
Answers.UserDisplayName: alexh
Answers.Body: <p>You get the scale of the layer in the Transform property menu as seen below. The scale is in relation to the comp width and height if its solid or adjustment layer, for imported footage its in relation to the source width and height.
  To get pixel values you just do a little math:</p>
  
  <p><code>(Comp or Footage width|height/100)*Scale = pixel dimension of layer</code></p>
  
  <p>When it comes to shape layer, the size of the shape is shown in the path menu unless its a custom shape, there is no easy built-in way to determine the bounding box of a custom path, you would need to write a script for that.</p>
  
  <p><img src="https://i.sstatic.net/k5THc.png" alt="enter image description here"></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-30T07:20:53.770Z
Answers.Text: This answer still has an error. The scale is **always** relative to the layer, whether it's a solid, adjustment layer or external layer. If you make a 10 X 10 pixels solid or adjustment layer  in a 100 X 100 pixels comp the scale will still say 100%, *not* 10%.
Answers.UserDisplayName: stib
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-30T21:19:42.287Z
Answers.Text: Feel free to make an edit. Not sure how to word it better.
Answers.UserDisplayName: timonsku
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-11-24T01:33:38.763Z
Answers.Text: No, that is wrong, scale is relative to the scale of the layer, if I brought in a 200px * 200px image into an HD comp, by your formula it would be 192px by 108px.
Answers.UserDisplayName: GiantCowFilms
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-11-24T02:07:39.650Z
Answers.Text: oh right, I was only thinking of solids as the pixel value of footage is usually known. I edited the answer to reflect that.
Answers.UserDisplayName: timonsku
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-11-24T00:27:12.570Z
Answers.LastActivityDate: 2014-11-24T02:09:41.370Z
Answers.LastEditDate: 2014-11-24T02:09:41.370Z
Answers.UserDisplayName: timonsku
Answers.Body: <p>To find the pixel dimensions of a layer you can use this expression:</p>
  
  <blockquote>
  <pre><code>layer.sourceRectAtTime(t = time, includeExtents = false)
  </code></pre>
    
    <p><strong>t</strong>: the time index, in seconds. A floating-point value.</p>
    
    <p><strong>includeExtents</strong>: true to include the extents, false otherwise. Extents apply to shape layers only, increasing the size of the layer
    bounds as necessary.</p>
  </blockquote>
  
  <p>This is only for AE version > 13.2 (CC 2014.2). See the announcement <a href="http://blogs.adobe.com/aftereffects/2014/12/after-effects-cc-2014-2-13-2.html" rel="nofollow noreferrer">here</a>.</p>
  
  <p>For earlier versions <a href="https://video.stackexchange.com/questions/13001/can-you-measure-the-width-of-a-character-in-an-ae-expression">this question</a> is relevant, in the answers there is a link to an expression that achieves the same result, albeit a lot slower.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-01-14T00:43:05.010Z
Answers.Text: Thanks, sadly I'm still on CS6 D:, so I wont accepted it (But you earned an upvote), since I'm pretty sure that there *must* be a way.
Answers.UserDisplayName: GiantCowFilms
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-01-14T00:53:49.787Z
Answers.Text: edited with link for previous versions of AE.
Answers.UserDisplayName: stib
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-01-14T00:39:48.627Z
Answers.LastActivityDate: 2015-01-14T12:20:27.057Z
Answers.LastEditDate: 2017-04-13T12:46:08.110Z
Answers.UserDisplayName: stib
Body: <p>How can I <strong>find the dimensions in pixels</strong> of a layer in adobe after effects.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-11-23T18:55:08.190Z
Comments.Text: do you mean whether if its a 2D or 3D layer?
Comments.UserDisplayName: timonsku
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-11-23T19:51:19.590Z
Comments.Text: @ProfessorSparkles No, I wan't to know how many pixels wide and how many pixels tall.
Comments.UserDisplayName: GiantCowFilms
Tags: <after-effects><post-production>
Title: Layer dimensions in after effects
UserDisplayName: GiantCowFilms
ThreadText: # Layer dimensions in after effects
  
  (Asked by: username_0 on 2014-11-23)
  
  How can I **find the dimensions in pixels** of a layer in adobe after effects.
  
  **Tags:** after-effects, post-production
  
  > **Comments:**
  > **username_1**: do you mean whether if its a 2D or 3D layer?  
  > **username_0**: @ProfessorSparkles No, I wan't to know how many pixels wide and how many pixels tall.  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_3 on 2015-01-14. Score: 3 | Accepted answer
  
  To find the pixel dimensions of a layer you can use this expression:
  
  > ```
  > layer.sourceRectAtTime(t = time, includeExtents = false)
  >
  > ```
  >
  > **t**: the time index, in seconds. A floating-point value.
  >
  > **includeExtents**: true to include the extents, false otherwise. Extents apply to shape layers only, increasing the size of the layer
  > bounds as necessary.
  
  This is only for AE version > 13.2 (CC 2014.2). See the announcement [here](http://blogs.adobe.com/aftereffects/2014/12/after-effects-cc-2014-2-13-2.html).
  
  For earlier versions [this question](https://video.stackexchange.com/questions/13001/can-you-measure-the-width-of-a-character-in-an-ae-expression) is relevant, in the answers there is a link to an expression that achieves the same result, albeit a lot slower.
  
  > **Comments:**
  > **username_0**: Thanks, sadly I'm still on CS6 D:, so I wont accepted it (But you earned an upvote), since I'm pretty sure that there *must* be a way.  
  > **username_3**: edited with link for previous versions of AE.  
  
  ---
  
  ### Answer by username_2 on 2016-04-27. Score: 7
  
  To find the pixel dimensions of a layer in AE,
  
  Hit 's' that brings up scale,
  then right-click Scale to bring up the **Edit-Value** dialog,
  
  [![enter image description here](https://i.sstatic.net/GadoM.png)](https://i.sstatic.net/GadoM.png)
  
  then set **units** to **pixels**.
  
  [![enter image description here](https://i.sstatic.net/EPynd.png)](https://i.sstatic.net/EPynd.png)
  
  > **Comments:**
  > **username_3**: When I first read this I thought you were saying that you could change the value in the scale numerical box to pixels, and I was all: "what?! I never knew that!". But then I tried it and realised what you meant. A good suggestion though.  
  > **username_0**: This seems a lot simpler than the current accepted answer. I will need to verify it though. Also, what version of AE are supported?  
  > **username_3**: Yes, if you just want to know the dimensions this is simpler. Doing it with an expression means you can use that value dynamically to drive other things. So it depends on what you want to do.  
  
  ---
  
  ### Answer by username_1 on 2014-11-24. Score: 3
  
  You get the scale of the layer in the Transform property menu as seen below. The scale is in relation to the comp width and height if its solid or adjustment layer, for imported footage its in relation to the source width and height.
  To get pixel values you just do a little math:
  
  `(Comp or Footage width|height/100)*Scale = pixel dimension of layer`
  
  When it comes to shape layer, the size of the shape is shown in the path menu unless its a custom shape, there is no easy built-in way to determine the bounding box of a custom path, you would need to write a script for that.
  
  ![enter image description here](https://i.sstatic.net/k5THc.png)
  
  > **Comments:**
  > **username_0**: No, that is wrong, scale is relative to the scale of the layer, if I brought in a 200px * 200px image into an HD comp, by your formula it would be 192px by 108px.  
  > **username_1**: oh right, I was only thinking of solids as the pixel value of footage is usually known. I edited the answer to reflect that.  
  > **username_3**: This answer still has an error. The scale is **always** relative to the layer, whether it's a solid, adjustment layer or external layer. If you make a 10 X 10 pixels solid or adjustment layer  in a 100 X 100 pixels comp the scale will still say 100%, *not* 10%.  
  > **username_1**: Feel free to make an edit. Not sure how to word it better.  
  
  ---
  
  