Align To

The Align To behavior lets you dynamically align the position of a target object to the position of a source object. The behavior can be static, so that the target object is always aligned to the source object; or the behavior can be animated, so that the target object aligns to the source object over time. The scale of the source object is also considered in the target object’s alignment (the size of the target object does not change).

This behavior is ideal for creating dynamic slide transitions in which images pull or push each other onscreen and offscreen, or animations in which a shape remains aligned to text even as the text changes size.

Adjust this behavior using the controls in the Behaviors Inspector:

Note: In addition to adjusting the target object in the Inspector, you can modify the target object’s position by dragging the behavior’s onscreen control in the canvas. Dragging the onscreen control modifies the Offset parameter.