Skip to main content
Participant
Nov 29, 2026 8:33 PM UTC
Question

How do I lock a layer of sun rays so it doesn’t move with camera motion? Step by step will help a lot.

The sun rays were created on a separate layer.  It is a shot taken in the woods where the camera cranes upward.  I need the rays to hold position and not go with the camera movement.  It has been a while since using AE.

    1 reply

    CORCTON
    Community Expert
    Community Expert
    Nov 29, 2026 9:13 PM UTC

    The key point is that a camera in After Effects only moves 3D layers. So to hold the rays in place on screen, make the rays layer a plain 2D layer — Adobe's help page puts it this way: "Cameras affect only 3D and 2D layers with an effect with a Comp Camera attribute."

     

    https://helpx.adobe.com/after-effects/desktop/work-with-layers/camera-layer/cameras-lights-points-interest.html

     

    Step by step:

    1. Select the sun rays layer in the Timeline panel.

    2. In the Switches column, turn off the 3D Layer switch (the cube icon) for that layer. If you don't see the Switches column, click "Toggle Switches / Modes" at the bottom of the Timeline panel. A 2D layer isn't affected by the camera, so it will hold its position while the camera cranes upward.

    3. While you're there, check the Parent column for that layer and make sure it says None. If it's parented to the camera (or to a null that moves with the camera), it will still travel with the camera even as a 2D layer.

    4. You may need to reposition or scale the rays once it's 2D, since it will no longer sit in 3D space.

     

    One thing to know: the Lock switch in the Timeline only stops you editing a layer by accident — it doesn't stop the camera from moving it, so locking alone won't do it.

     

    If the rays still move after that, the motion is coming from keyframes on the layer itself, or from an effect with a Comp Camera setting — check the layer's Position keyframes and the effect's settings.

    Translate