3 Replies Latest reply on Dec 31, 2015 1:22 PM by dakota85105460

    Can you animate an object's (or an effect's) position using a mask (AE)?

    dakota85105460

      Hi,

       

      So I'm animating a lens flare (AE basic Lens Flare effect applied to a Black Solid layer set to Screen, Flare Center) to follow the end of line graph as it 'grows'. I made the graph animate by making several mask points and applying Stroke to the layer (Solid Layer) and keyframing the 'End' percentage.

       

      However, I've realized that I may want to change the speed in the future so it would be extremely useful if there was a quick way to also change the Lens Flare's center position without having to keyframe a ton of points. I was wondering if there was a way that I could simply parent the path of the Flare Center to that same mask (or someway to follow it) and control the speed with fewer keyframes or with whatever works. Pickwhipping 'flare center' to the stroke's 'End' just changes both horiz and vert values to whatever the percentage is at.

       

      After searching other forums/tutorials I haven't found a way yet.

       

      After Effects CS6

        • 1. Re: Can you animate an object's (or an effect's) position using a mask (AE)?
          Dave LaRonde Level 6

          You don't have to do all that.  Highlight the keyframed property.  All the keyframes highlight.  Right-click on one and use the Rove across time command.  Now when you move either the beginning or ending keyframe on the timeline, the keyframes in-between move proportionately.  Very handy for speeding up or slowing down.

          • 2. Re: Can you animate an object's (or an effect's) position using a mask (AE)?
            Rick Gerard Adobe Community Professional & MVP

            I'm assuming you know how to turn a mask path to a motion path. If not here are the steps:

            1. Create a new layer for your mask path or use an existing layer
            2. The layer must not be scaled or moved out of position.
            3. Draw your mask then press Alt/Option + M  then Ctrl/Cmnd + C to create a mask keyframe and then copy it
            4. Move the CTI to the point in the timeline where you want the motion to start
            5. Pick the layer or property in a layer that you want to move along the mask path (in your case Flair Center)
            6. Create a new keyframe for position Alt/Option + p or the position property of an effect you want to use and create a single new keyframe under the CTI and press Ctrl/Cmnd + V to paste the motion path to the property.

            This should create rove over time keyframes for the selected position property starting at the CTI and ending a few seconds down the timeline.

             

            Now just grab the last keyframe to adjust the timing of the move.

             

            If rove across time doesn't work for your animation then you can select all of the keyframes then hold down the Alt/Option key and drag the end keyframe to scale the time between keyframes proportionally. I use this all the time to finalize my animation time.

             

            Another option is to pre-compose your lens flair layer then use Time Remapping and adjust the timing there. For things like position changes you won't end up with blended frames. I hope this helps...