
Building the World's Greatest Cameraman Using After Effects 5.5 Expression Controls
Dan Ebberts July 26, 2023
0 Comments
Originally published in 2002
With version 5.5 of After Effects, Adobe added the wonderful world of the powerful new Expression Controls. In this tutorial, Dan Ebberts looks at several different ways that expression controls can be useful in your projects.
This is an Advanced Tutorial.
Download Project File .zip
Download Movie
introduction In this tutorial we're going to explore the wonderful world of the powerful new expression controls which Adobe introduced with After Effects 5.5. We'll look at several different ways that expression controls can be useful in your projects. First we'll examine the most straight-forward use of expression controls, which is to use them as a manual adjustment master control to help you set up a comp just the way you want it. Then we'll explore using expression controls as master animation controllers. Next we'll examine how you can use an expression control as a limited type of global variable to distribute information to expressions in other layers. Finally, we'll have some fun using expression controls to create the world's greatest cameraman. That's a lot of ground to cover, so let's get moving!
the basics
After Effects 5.5 introduced six new expression controls: slider control, angle control, checkbox control, color control, point control, and layer control. These controls are applied as effects and are located in the Expression Controls group in the effect menu. When using these for global animation control, I like to apply them to a null layer (and then turn off the visibility of the null so it doesn't clutter the comp window) so it will be easy to find them later, but you can apply them to other layers as well. The first control we're going to look at is the slider control.
slider control
Go ahead and open the project file and select the tab for the slider comp. This comp contains a null layer (to which a slider control has been applied), a simple Illustrator graphic layer that has been duplicated a bunch of times, and a camera. Notice that the graphic layers are 3D because we'll be using the slider control to position the layers in Z space. Select the null layer and hit Ctrl Shift t (PC) or Cmd Shift t (Mac) to reveal the Effect Controls palette. Select one of the graphic layers and type p to reveal the position property. Click on the little twirly to reveal the following expression:
position [0,0,(index-1)*this_comp.layer( Null 1 ).effect( Slider Control ).param( Slider )]
This expression establishes each layer's position in Z space based on its layer number (index) minus one, times the value of the slider. So as the value of the slider increases, the layers will spread themselves out along the z axis. Go ahead and scrub the value of the slider (by clicking on the value and dragging). Pretty slick, huh? Notice that if you drag the value negative, the layers spread out in the negative z direction. You can also adjust the value by clicking on the little twirly next to Slider and dragging the slider. One other thing to note is that if you right-click (PC) or Control-click (Mac) on the value and select Edit Value from the context menu, you can adjust the range of the slider. You might want to do this to give yourself a wider range or more precision with the slider.
Note that setting up a comp like this is fairly simple. The graphic layers are all exactly the same. Once you get the expression set up you can quickly create a bunch of duplicates by typing Ctrl d (PC) or Cmd d (Mac) and the expression will automatically accommodate any number of layers.
angle and color controls Select the tab for the angle and color comp . This comp contains a null and multiple copies of a graphic layer that has had its anchor point moved to the bottom and had the tint effect applied. Select the null layer and hit Ctrl Shift t (PC) or Cmd Shift t (Mac) to reveal the Effect Controls palette. You'll notice that the null has an angle control and two color controls applied. The color controls have been renamed start_color and end_color so that we can refer to them by name in our expressions. Select one of the graphic layers and type r to reveal the rotation property and click the little twirly to reveal the following expression:
index*this_comp.layer( Null 1 ).effect( Angle Control ).param( Angle )
This expression calculates the layer's rotation by multiplying the layer number (index) by the value of the angle control. With the graphic layer still selected, type e to display the effects applied to the layer. You'll notice that the tint affect has been applied. Click the little twirly next to Tint and then click the twirly next to Map White to to reveal the following expression (you'll have to expand the expression area to see it all):
if (this_comp.num_layers<3){
this_comp.layer( Null 1 ).effect( start_color ).param( Color )
}
else{
this_comp.layer( Null 1 ).effect( start_color ).param( Color )
(this_comp.layer( Null 1 ).effect( end_color ).param( Color )-this_comp.layer( Null 1 ).effect( start_color ).param( Color ))*
((index-1)/(this_comp.num_layers 2))
}
This expression first checks to see if there is only one graphics layer, in which case it just uses the color from the start_color control (this is necessary because without this code, the expression will abort on a divide by zero error when you first apply it to a single layer). The rest of the expression covers the usual case where there are multiple graphic layers. In that case, the expression spreads the color out so that the top layer gets the start_color and the bottom layer gets the end_color and the other layers get something in between. Note that
Most recent headlines
20/12/2025
Atomos announced the immediate availability of a new firmware update for its Ninja TX GO and Ninja TX monitor-recorders, unlocking ProRes RAW recording from the...
20/12/2025
CJP Broadcast has completed the digitisation of the European Gymnastics tape archive, converting 328 tapes containing more than forty years of recorded material...
20/12/2025
Bitmovin, the leading provider of video streaming solutions, today announced the launch of the Stream Lab MCP Server, to give AI agents and large language model...
20/12/2025
Share Share by:
Copy link
Facebook
X
Whatsapp
Pinterest
Flipboard...
20/12/2025
Share Share by:
Copy link
Facebook
X
Whatsapp
Pinterest
Flipboard...
20/12/2025
Share Share by:
Copy link
Facebook
X
Whatsapp
Pinterest
Flipboard...
20/12/2025
Share Share by:
Copy link
Facebook
X
Whatsapp
Pinterest
Flipboard...
20/12/2025
Share Share by:
Copy link
Facebook
X
Whatsapp
Pinterest
Flipboard...
20/12/2025
Share Share by:
Copy link
Facebook
X
Whatsapp
Pinterest
Flipboard...
20/12/2025
Barack Obama Includes Laufey on His 2025 Favorite Music List The former presidents roundup of books, music, and movies includes a song from the Berklee alums ...
20/12/2025
Study reveals a key hormonal circuit in the kidneys Scripps Research scientists identify the protein that helps kidney cells regulate renin, providing foundatio...
19/12/2025
With Playout Release 2025.4, ToolsOnAir continues to push professional playout w...
19/12/2025
SVG Sit-Down: Diversified's Jared Timmins on AI for Broadcast Sports and Cre...
19/12/2025
2025 SVG Summit Audio Recap: Say What?The Audio Production and Distribution Workshop at the SVG Summit 20 took on issues including speech intelligibility, Next-...
19/12/2025
Gamified fun: Channel 5 on its NFL Big Game Night ambitions with Hungry Bear Med...
19/12/2025
College Football Playoff Preview: For ESPN, Round 1 is a Fantastic Yet Familia...
19/12/2025
AWS's Jason Dvorkin on Developing Partnerships With the NBA and PGA Tour, Em...
19/12/2025
Netflix Kicks Off Packed Sports Week with Paul-Joshua Fight Before Shifting to N...
19/12/2025
SVG New Sponsor Spotlight: Presidio's Nareev Shah on the Role of Its Captiva...
19/12/2025
Mounted to the pylon of an AH-1Z Viper helicopter, a Red Wolf vehicle successful...
19/12/2025
L3Harris technology for the SDA Tranche 3 Tracking Layer program will provide in...
19/12/2025
Partnership brings Nielsen ONE measurement activation directly into XR's adv...
19/12/2025
Share Share by:
Copy link
Facebook
X
Whatsapp
Pinterest
Flipboard...
19/12/2025
Share Share by:
Copy link
Facebook
X
Whatsapp
Pinterest
Flipboard...
19/12/2025
Berklee Announces Spring 2026 Signature Series This season's highlights include the Gospel Extravaganza, the 40th International Folk Festival, special gue...
19/12/2025
Performing arts centres across the globe have doubled down on live production infrastructure in recent years. For venues like the Queensland Performing Arts Cen...
19/12/2025
Share Share by:
Copy link
Facebook
X
Whatsapp
Pinterest
Flipboard...
19/12/2025
Share Share by:
Copy link
Facebook
X
Whatsapp
Pinterest
Flipboard...
19/12/2025
Share Share by:
Copy link
Facebook
X
Whatsapp
Pinterest
Flipboard...
19/12/2025
Share Share by:
Copy link
Facebook
X
Whatsapp
Pinterest
Flipboard...
19/12/2025
Share Share by:
Copy link
Facebook
X
Whatsapp
Pinterest
Flipboard...
19/12/2025
Share Share by:
Copy link
Facebook
X
Whatsapp
Pinterest
Flipboard...
19/12/2025
Ricardo Coke-Thomas Named Chair of Theater for Boston Conservatory at Berklee The distinguished theater educator, director, and performer will join the Conser...
19/12/2025
Back to All News
Salvador Arrives to Netflix on February 6
Entertainment
19 December 2025
GlobalSpain
Link copied to clipboard
WHEN THERE IS NOTHING LEFT ...
19/12/2025
As the year comes to a close, it's the perfect time to give your WO Automation for Radio system a quick tune up. At the top of your year end checklist is on...
19/12/2025
19 Dec 2025
VEON's Mobilink Microfinance Bank Launches Islamic Banking Oper...
19/12/2025
Wrapping up a year of connection and clarity!
19 Dec Written By Suzanne Costello
As 2025 comes to a close, we want to take a moment to thank our incredib...
19/12/2025
The six-part drama, set in a close-knit Welsh town fractured by an unspeakable c...
19/12/2025
Rohde & Schwarz drives the future of mobility at CES 2026 At the 2026 Consumer Electronics Show in Las Vegas, Rohde & Schwarz will present a powerful lineup o...
19/12/2025
Back to All News
Salvador arrives to Netflix on February 6
Entertainment
19 December 2025
GlobalSpain
Link copied to clipboard
WHEN THERE IS NOTHING LEFT ...
19/12/2025
Back to All News
Last Samurai Standing' Renewed for Season 2 - A Global Se...
19/12/2025
RT is proud to return to the RDS to support the 2026 Stripe Young Scientist & T...
19/12/2025
Nanoparticle vaccine strategy could protect against Ebola and other deadly filoviruses Scripps Research scientists turn nanoparticles into virus showcases to ...
18/12/2025
SVG Campus Shot Callers: Kurt Sutton, Director of Broadcast Operations, Clemson ...
18/12/2025
Follow the Money Episode 2: Inside the Sports Media Biz with Sam McCleery and St...
18/12/2025
SVG Sit-Down: Google Cloud's Anshul Kapoor on the Future of Generative Prod...
18/12/2025
The 2025 SVG Summit Draws Record Crowd for 20th-Annual Sports-Production Industr...
18/12/2025
SBS's sports schedule sizzles in January with Dakar Rally, Kooyong Classic a...
18/12/2025
Canada's largest indoor arena has transformed its live production capabilities with a full ST 2110 infrastructure and Calrec's compact Argo S console. S...
18/12/2025
During November, streaming's share of TV viewing in Mexico settled at 24.2%, an increase of 0.5 share points from the previous month.
Disclaimer: YUMI TV,...