Zoom Layer

The Zoom Layer behavior moves a camera to the position of a target object’s anchor point. When the camera reaches the object’s anchor point, the angle of view changes while offsetting the camera’s position based on the Zoom parameter. (This parameter is set to 0 by default so no animation of the Angle of View occurs.)

This behavior also lets you animate the camera’s Angle of View during the camera’s movement, based on the behavior’s Transition value. For more information about the Angle of View parameter, see Controls in the Camera Inspector.

After you apply this behavior, the Zoom Layer section of the Behaviors Inspector contains the following parameter controls:

The HUD contains the same controls as the Inspector.