Stop a behavior
The easiest way to control behavior timing is to use the Stop behavior (in the Parameter category). The Stop behavior halts the animation occurring in a single parameter, whether the animation is based on keyframes in the Keyframe Editor or behaviors applied to that object.
Stop a parameter from animating
Move the playhead to the frame where you want animation to stop.
Select the affected object, then open the Properties Inspector.
Control-click the parameter to stop, choose Add Parameter Behavior from the shortcut menu, then choose Stop.
If the behavior was applied to one dimension of a multidimensional parameter, open that parameter’s disclosure triangle and Control-click the dimensional parameter to access the same shortcut menu, then choose Stop.
The parameter is animated until the frame where the Stop behavior begins.
Note: When applied in this manner, the Stop behavior takes effect at the current frame (regardless of the Create Layers At setting in Motion Preferences).
To assign the Stop behavior to a different parameter, choose a new parameter from the Apply To pop-up menu in the Stop section of the Behaviors Inspector.
The Stop behavior halts the animation of all behaviors that affect the selected parameter of that object. For example, if the Gravity, Edge Collision, and Rotate behaviors are applied to a shape and you apply the Stop parameter to the shape layer’s Position parameter, the shape stops moving but continues rotating.
To control when animation affecting that parameter is stopped, trim the Stop behavior in the Timeline. For more information on trimming behaviors, see Trim behaviors.