Chapter 30: Controls
Many After Effects templates are driven from a control panel: a layer, often called “Control Panel” or “CONTROLS”, holding Expression Controls — a Color Control for the text colour, a Slider for a line’s length, a Checkbox to switch a reflection on — that expressions on the other layers read. When such a template is imported, its control panels come across as Controls: you change a colour once and every layer that reads it follows, as in After Effects.
Controls only ever come from an import. You can change, reset, expose and remove them, but not create new ones; to add a control, add it in After Effects and import the project again.
The Controls tab
A template with controls has a third tab in the properties sidebar, Controls, beside Layer and Scene (or Comp). A template without controls has no such tab.
The tab lists the controls in groups, one per control layer, in After Effects’ order. Each group is titled with the control layer’s name and the comp it sits in (“Control Panel”, Color Lower Third 03), with how many controls it holds. Click a group’s title to collapse or expand it. The line at the top counts the controls and groups, how many are exposed as variables and how many drive nothing.
A template with more than eight controls shows a filter field: type part of a control’s name, its group, its comp or its variable name to narrow the list. Every word you type must match.
Changing a control
Each control has an editor for its kind:
| Kind (After Effects) | Editor |
|---|---|
| Color Control | A colour swatch and its hex code; an alpha percentage when the colour is not opaque |
| Slider Control | A number. Drag its label sideways to scrub the value (hold Shift for bigger steps), or type it |
| Angle Control | A number in degrees, scrubbed or typed the same way |
| Checkbox Control | A tick box: on or off |
| Point Control, 3D Point Control | X and Y (and Z) in pixels, each scrubbed or typed |
| Dropdown Menu Control | Its menu items. A template imported before menu items were read shows the item’s number instead |
| A text other layers read | The words |
Changing a control runs the expressions that read it again and writes their results into every property that follows it, on every layer and in every comp, as importing the project again with that value would. One Undo (⌘Z) takes back the whole change; dragging a colour or scrubbing a number counts as one change.
Reset (the circular arrow) returns a control to the value it had in the After Effects project. It is greyed out while the control is at that value; hover it to see the value.
Controls that drive nothing
A control whose expressions only changed things that did not come across — an effect FX Express does not have, a layer the import left out — is listed greyed, with Drives nothing that came across. Its value is kept so you can see it, and you can still change it, but nothing in the template moves. The import report says what was left out.
Exposing a control as a variable
Tick Variable on a control to make it a template variable, so each render can set it. Nothing is exposed until you tick it. Before you do, the row shows the name the variable will get: the comp of the control layer and the control’s name, for example color_lower_third_03_text_color_01. Once exposed, the name is a field you can change; press Enter to keep it, Escape to go back. A name that is not a valid variable name (Chapter 13) or is already used by the template is refused, with the reason under the field.
The variable’s default is the control’s value — a colour as #rrggbb, a checkbox as 1 or empty, a dropdown as its item, words as themselves — and it follows when you change the control here. An exposed control appears in the Variables panel like any other variable.
A render can only change some of what a control drives. Where it cannot, the control’s row says so when you expose it:
- Fixed per render: follows in the editor only. Nothing the control drives can take a value per render. The control still changes the template in the editor; every render uses the value it has when you publish.
- Per render only partly: … Some properties follow the variable; the ones named follow in the editor only.
What a render can change, today:
| Control | Per render | Editor only |
|---|---|---|
| Colour | The colour of a text, its outline or background; a shape’s fill or stroke; an After Effects Fill at full strength with no colour effect after it; a Drop Shadow or Vignette colour | Colours inside imported shape contents and gradients; a colour worked out from the control rather than equal to it; a Fill mixed with other colour effects |
| Checkbox, Dropdown | Showing or hiding a layer, when each state either shows it as imported or hides it, and the layer has no visibility condition of its own | Anything else |
| Text | The words | — |
| Slider, Angle, Point | — | Sizes, positions, rotation, opacity, effect settings and animation keys: the render cannot take numbers or positions from a variable yet |
Open More (⋯) on a control to see every layer and property that follows it, each marked per render as a variable or editor only with the reason.
Essential Graphics
What a comp’s author exposed in After Effects’ Essential Graphics panel comes across as controls too: one group per comp, titled Essential Graphics and the comp’s name, one control per entry — a text’s words, a colour, a number, a checkbox, a point. These controls are already exposed as variables, as the author meant them (title_card_headline for the entry “Headline” of the comp “Title Card”); untick Variable to keep one fixed. An entry that drives an Expression Control is that control, exposed.
Changing such a control changes every placement of the comp that does not set its own value (see Essential Properties in Chapter 28); a placement that sets its own keeps it, as in After Effects. Per render, the same table as above applies: a text’s words and a colour follow the variable; a number such as an opacity follows in the editor only.
When an expression also drives the property an entry exposes, the expression wins, as it does in After Effects: the property follows what the expression reads, and the entry is listed greyed, driving nothing. Entries FX Express cannot take as controls — a media replacement slot, a keyed property, another comp’s Essential Properties passed on — are named in the import report.
Removing a control
In More (⋯), Remove control takes the control off the template. The properties that followed it keep the values they have, so nothing on the canvas moves; they no longer follow anything. An exposed control’s variable goes with it, and so do the values placements set for it of their own. Undo brings the control back. When the last control is removed the Controls tab goes away.
Layers that follow controls
A layer with properties that follow a control shows a Follows controls section in the Layer tab. Each line names the property (“Fill colour”, “Width”, “Opacity”), the control it follows and the control layer and comp that control sits in, and whether it is Linked. Click the control’s name to open it in the Controls tab.
If you edit such a property by hand — drag the layer, type another opacity — your edit wins: the property no longer follows the control and its line shows Unlinked. Changing the control later leaves it as you set it. Relink writes the control’s value back into it and makes it follow again; Undo takes the relink back.
In the timeline, the row of a layer that follows controls carries a small sliders badge beside its name; hover it to see which controls. The badge turns amber when one of the layer’s properties is unlinked.