After Effects Expression Reference Expressions Guide
User Manual:
Open the PDF directly: View PDF
Page Count: 115 [warning: Documents this large are best viewed by clicking the View PDF Link!]
- Introduction
- Resources
- Examples
- Get this project’s AEP name (AE 15.1+ only)
- Make a layer revolve in a circle
- Rotate the hands of a clock
- Position one layer between two others
- Create a trail of images
- Create a bulge between two layers
- Fade opacity of a 3D layer based on distance from camera
- Make a 3D layer invisible if facing away from camera
- Flip layer horizontally if facing away from camera
- Animate scale at each layer marker
- Start or stop wiggle at specific time
- Match camera focal plane to another layer
- Global
- Time conversion
- framesToTime(frames, fps=1.0 / thisComp.frameDuration)
- timeToTimecode(t=time + thisComp.displayStartTime, timecodeBase=30, isDuration=false)
- timeToNTSCTimecode(t=time + thisComp.displayStartTime, ntscDropFrame=false, isDuration=false)
- timeToFeetAndFrames(t=time + thisComp.displayStartTime, fps=1.0 / thisComp.frameDuration, framesPerFoot=16, isDuration=false)
- timeToCurrentFormat(t=time + thisComp.displayStartTime, fps=1.0 / thisComp.frameDuration, isDuration=false)
- Vector Math
- Random Numbers
- Interpolation
- Color Conversion
- Other Math
- Project
- Comp
- Comp.layer(index)
- Comp.layer(name)
- Comp.layer(otherLayer, relIndex)
- Comp.marker
- Comp.marker.key(index)
- Comp.marker.key(name)
- Comp.marker.nearestKey(t)
- Comp.marker.numKeys
- Comp.numLayers
- Comp.activeCamera
- Comp.width
- Comp.height
- Comp.duration
- Comp.ntscDropFrame
- Comp.displayStartTime
- Comp.frameDuration
- Comp.shutterAngle
- Comp.shutterPhase
- Comp.bgColor
- Comp.pixelAspect
- Comp.name
- Footage
- Camera
- Light
- Effect
- Mask
- Property
- value
- valueAtTime(t)
- velocity
- velocityAtTime(t)
- speed
- speedAtTime(t)
- wiggle(freq, amp, octaves=1, amp_mult=0.5, t=time)
- temporalWiggle(freq, amp, octaves=1, amp_mult=0.5, t=time)
- smooth(width=.2, samples=5, t=time)
- loopIn(type="cycle", numKeyframes=0)
- loopOut(type="cycle", numKeyframes=0)
- loopInDuration(type="cycle", duration=0)
- loopOutDuration(type="cycle", duration=0)
- key(index)
- key(markerName)
- nearestKey(t)
- numKeys
- propertyGroup(countUp=1)
- propertyIndex
- name
- Path Property
- name
- pathProperty.points(t=time)
- pathProperty.inTangents(t=time)
- pathProperty.outTangents(t=time)
- pathProperty.isClosed()
- pathProperty.pointOnPath(percentage=0.5, t=time)
- pathProperty.tangentOnPath(percentage=0.5, t=time)
- pathProperty.normalOnPath(percentage=0.5, t=time)
- pathProperty.createPath(points=[[0,0], [100,0], [100,100], [0,100]], inTangents=[], outTangents=[], is_closed=true)
- Key
- MarkerKey
- Layer Sub-objects
- Layer General
- Layer Properties
- Layer Space Transforms
- Layer 3D