How to Use the 3D Layer Switch in After Effects

The 3D layer switch in Adobe After Effects transforms standard flat, two-dimensional layers into three-dimensional objects, allowing them to exist and move within a simulated 3D space. This guide provides a straightforward explanation of what the 3D layer switch is, how it alters layer properties, and the exact steps required to enable it in your timeline.

What is the 3D Layer Switch?

By default, layers in After Effects are two-dimensional, meaning they only operate on the horizontal (X) and vertical (Y) axes. The 3D layer switch—represented by a cube icon in the Timeline panel—unlocks the third dimension: depth (the Z-axis).

Activating this switch does not turn a 2D graphic into an extruded 3D model automatically (unless using specific renderers like Cinema 4D or Advanced 3D), but it allows the layer to move forward and backward in space, rotate in three dimensions, cast and accept shadows, and interact with virtual cameras and lights.

How to Enable the 3D Layer Switch

Enabling 3D space for any layer is a simple process:

  1. Open Your Composition: Open the composition containing the layer you want to make three-dimensional.
  2. Locate the Switches Column: Look at the Timeline panel on the left side of the layer names. You should see columns for various switches (such as Shy, Motion Blur, and 3D).
  3. Toggle Switches/Modes (If Hidden): If you do not see the cube icon, the timeline might be set to display "Modes" instead of "Switches." Click the Toggle Switches / Modes button at the very bottom of the timeline, or press F4 on your keyboard to reveal the switches.
  4. Click the Cube Icon: Find the column with the cube icon at the top. Click the empty box in that column directly across from your chosen layer. A cube icon will appear in that box, confirming that 3D space is now enabled for that layer.

What Changes When 3D is Enabled?

Once the 3D switch is active, the layer's properties immediately expand:

  • Transform Properties: Position, Scale, and Anchor Point now display three values (X, Y, and Z) instead of two. The layer also gains separate X, Y, and Z Rotation controls, as well as an Orientation property.
  • Material Options: A new category called "Material Options" appears under the layer's transform properties. This allows you to control how the layer reacts to light, including Casts Shadows, Light Transmission, Ambient, Diffuse, Specular, and Metal reflections.
  • Camera and Light Interaction: The layer will now respond to any Camera or Light layers added to the composition, allowing for realistic depth of field, perspective shifts, and dynamic illumination.