Animate an effect shape mask
You can use keyframes to animate an effect shape mask so that it follows the movement of an onscreen object.
Animate a shape mask
Add a shape mask to a video effect.
In the Viewer, position the shape mask at its starting position.
If the Video inspector isn’t already open, do one of the following:
Choose Window > Show Inspector (or press Command-4).
Click the Inspector button in the toolbar.
Click the Video button at the top of the Inspector, and in the Effects section, click the Keyframe button for the mask you want to animate.
A keyframe is added at the position of the playhead. To see the keyframe in the Timeline, press Control-V to open the Video Animation Editor. The keyframe appears in the Color section as a diamond at the playhead position.
Move the playhead to the next point in the clip where you want to define the shape mask’s position, reposition the shape mask, and add the second keyframe.
To animate the shape mask throughout the clip, continue adding keyframes until you’ve defined the shape movement you want.
When you’ve added all the keyframes, you can play the clip to see the shape mask move between them. For more information about working with keyframes, see Video animation overview.
Note: You can apply and animate multiple shape masks on a clip. You can view and edit individual shape masks in the Video Animation Editor just as you would any other effect parameter. For more information, see Adjust video effects using keyframes.