Expression Library Guide
  • After Effects - Expression Library
  • Expression Library UI Overview
    • Import To Expression Library
    • Export Expression Library
      • Adding An Item To Export
      • Removing An Item From Export
      • Exporting
    • Guide
    • Expression Library
      • Expression Library Item Icon Guide
    • Information
    • Expression Functions
    • Add Expression Library Item
    • Remove Expression Library Item
    • Apply Expression
      • Applying To Properties
      • Applying To Layers
    • Delete Expression
      • Deleting With Combined Effects
  • Creating An Expression Library Item
    • Expression Library Info
    • Selection
      • Single Property Selection
      • Multiple Property Selection
      • Layer Selection
    • Including Keyframes
    • 3D or 2D Layer
    • Javascript or Extendscript
    • Naming Your Expression
  • Adding Custom Controls
    • thisLayer & Master Layers
    • Custom Functions
      • addMaster()
      • add3DPointControl()
      • add2DPointControl()
      • addColorControl()
      • addCheckboxControl()
      • addSliderControl()
      • addAngleControl()
      • addLayerControl()
    • Combining Custom Controls
    • Example Expressions
      • Standard Expression
      • Expression with thisLayer Controls
      • Expression With Master Controls
  • Tutorials
    • Tutorial Series 01
  • Changelog
    • Updates
  • Expression Pack
    • COMING SOON
  • FAQ
    • Installing The Script
      • Install As A Script Panel
      • Avoiding Those Darn Errors
      • Loading The Script
    • Reporting A Problem
    • After Effects Expression Error
    • Supported Versions
Powered by GitBook
On this page
  • Standard Expression
  • Expression With thisLayer
  • Expression With Master

Was this helpful?

  1. Adding Custom Controls

Example Expressions

PreviousCombining Custom ControlsNextStandard Expression

Last updated 5 years ago

Was this helpful?

There are technically three different types of expressions you can save.

Standard Expression

Standard expressions use no . They are what we describe as just an expression. These need no unquie set-up and can be saved straight from the property without any problems

Expression With thisLayer

Expressions that use the keyword and connect to an effect need no adjustments inside the expression itself. But, do need to be set-up correctly.

Expression With Master

Using expressions with a master layer need some initial set-up and code to be able to run correctly. The most important part is that var master = thisComp.layer("master layer name"); needs to be added below the

custom functions
Standard Expression
functions
Expression with thisLayer Controls
custom functions
Expression With Master Controls
thisLayer