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.