Quantize

The Quantize behavior creates an incremental animation in any keyframed or behavior-influenced parameter. For example, if opacity is animated so an object gradually fades in over time, you can add the Quantize behavior to make the object become opaque in steps.

Note: The Quantize behavior only works with animated parameters.

Adjust this behavior using the controls in the Behaviors Inspector:

  • Step Size: A value slider that defines the size of the steps, based on the units of the parameter to which it’s applied. For example, when Quantize is applied to rotation, the steps are in degrees (even though this parameter is not a dial control). When applied to position, the steps are in pixels.

    The left image below shows the projected path (the red line) of a layer with an applied Throw behavior. The right image displays the same animation path after the Quantize behavior is added. In this example, the Step value is set to 90.

    Canvas showing the effect of adding Quantize behavior to an object animated using a Throw behavior
  • Offset: A slider that offsets the steps. For example, when Quantize is applied to a Position parameter and Step Size is set to 100, an object “steps” in increments restricted to 100 pixels; thus, the step offset is 100, 200, 300, and so on. If Offset is set to 50, the step offset is restricted to 50, 150, 250, and so on.

  • Apply To: A pop-up menu that shows the parameter affected, and that can be used to reassign the behavior to another parameter.