MANUAL / EFFECTS

Expression Controls

Slider, Angle, Checkbox, Point and Color controls - effects that hold a value for expressions to read.

Expression Controls draw nothing. Each holds one animatable value that expressions can read, so you can build rigs with named controls. They are in the Effects ▸ Expression Controls submenu.

On a null layer, the Effects section sits above Transform and opens by default, since nulls usually exist to carry controls.

The controls

ControlParameterValueDefaultExpression
Slider ControlSliderA number, −1,000,000 to 1,000,0000effect("Slider Control")("Slider")
Angle ControlAngleDegrees0effect("Angle Control")("Angle")
Checkbox ControlCheckboxOn/off, read as 1 or 0Offeffect("Checkbox Control")("Checkbox")
Point ControlPointAn X, Y point0, 0effect("Point Control")("Point")
Color ControlColorA color, read as [r, g, b, a] from 0 to 1Redeffect("Color Control")("Color")

How to use them

  1. Select a layer (often a null) and choose a control from Effects ▸ Expression Controls.
  2. Double-click its name in the Effects section to rename it, for example "Speed".
  3. Refer to it by that name in an expression: effect("Speed")("Slider").

Tips

  • Expressions find effects by name, so rename before writing expressions. Renamed controls from After Effects keep their names on import.