Add a Custom behavior

Before adding custom parameters to a Custom behavior, you must apply the Custom behavior to an object in your project.

Add a Custom behavior to an object

  1. Do one of the following:

    • Select the object you want to add a Custom behavior to, click the Add Behavior pop-up menu in the toolbar, then choose Parameter > Custom.

    • In the Library, select the Behaviors category, select the Parameter subcategory, then drag the Custom icon to the object in the Canvas, Layers list, or Timeline.

      The Custom behavior is applied to the object. The behavior has no effect until you add a parameter to the behavior.

  2. In the Custom area of the Behaviors Inspector, click the Add Parameter pop-up menu, then choose a parameter to add.

    This menu contains every animatable parameter.

    Behaviors Inspector showing parameter being added to the Custom behavior from Properties > Transform > Position submenu

    The parameter you chose appears near the top of the Custom area in the Behaviors Inspector.

    Behaviors Inspector showing the added parameter

    After you add the parameters to animate in your Custom behavior, you can keyframe them in the Keyframe Editor to create whatever animated effect you require. For more information on keyframing parameters to create animation, see Apply keyframes to behaviors.

    After you animate the parameters you added, you can save the Custom behavior into the Library for future use. For more information about saving Custom behaviors to the Library, see Save custom behaviors.

Remove a parameter from the Custom parameter list

  • Click the Remove Parameter pop-up menu, then choose a parameter to remove.

    Behaviors Inspector showing parameter being removed from a Custom behavior

    That parameter no longer appears in the Custom parameter pop-up menu. Any keyframes applied to that parameter are deleted.

See also