Apply keyframes to behaviors

You can also use keyframes to animate behaviors. Combining behaviors and keyframes is a powerful way to enhance behaviors’ usefulness.

For example, you might want to apply a Gravity behavior, but delay the object’s fall until five seconds into the clip. Keyframes allow you to manipulate the parameters of each behavior.

Certain parameters cannot be animated, such as the Throw Velocity parameter of the Throw behavior and the Spin Rate parameter of the Spin behavior. If a parameter can be animated, the following occurs:

  • When keyframe recording is turned on (via the Record button), the parameter value appears red in the Inspector.

  • Moving the pointer over the parameter row in the Inspector reveals the Add/Delete Keyframe button (a plus sign in a gray diamond).

  • When you add keyframes to a parameter that has been animated with a behavior, a behavior icon (a gear) appears within a keyframe icon (a diamond).

    Inspector showing a behavior icon in a parameter row, a keyframe icon in a parameter row, and a behavior icon within a keyframe icon in a parameter row

Note: In Motion, you can convert all behaviors applied to an object into keyframes using the Convert to Keyframes command in the Object menu. See Convert behaviors to keyframes.

Keyframe a behavior’s parameters using the Record button

  1. Select an object in the Canvas.

  2. Apply a behavior.

    For more information about applying behaviors, see Apply behaviors overview.

  3. Click the Record button (or press A) to turn on keyframe recording.

  4. Place the playhead at the frame where you want the effect to begin changing.

  5. In the Inspector or HUD, adjust the behavior’s parameter settings.

    For more information, see Animate parameters in the Inspector and Animate via the HUD.

  6. Move the playhead to a new time position.

  7. Adjust the behavior settings again.

  8. Click the Record button (or press A) to turn off keyframe recording.