MattHawkins
MattHawkins

After Effects Expressions - ThisComp Tips  

by Matt Hawkins, 10/12/2010
Categories : Tutorials & Guides

This is a list of Composition properties available using thisComp. It includes composition height, width, number of layers and duration.

thisComp.height
Returns the height of your comp in pixels.

thisComp.width
Returns the width of your comp in pixels.

thisComp.numLayers
Returns the number of layers in your current composition.

thisComp.duration
Returns the length of the comp in seconds.

thisComp.frameDuration
Returns the duration of one frame in time in seconds. 1/thisComp.frameDuration would return the frame rate.

thisComp.displayStartTime
Returns the composition start time, in seconds.

thisComp.bgColor
Returns the background color of the composition as a four element array.

thisComp.name
Returns the name of the composition.

thisComp.pixelAspect
Returns the pixel aspect ratio of the composition.

Author : Matt Hawkins  Last Edit By : Matt Hawkins
PHP Powered  MySQL Powered  Valid XHTML 1.0  Valid CSS  Firefox - Take Back The Web  EUKHost - Recommended Webhosting Solutions

MattHawkins CMS v3.0 - Copyright 1993-2017