## Intro

The **Align Behaviour** can be used to set dynamic pivot points by pinning Shapes based on their bounding box. Shapes can then be set to left/ right/ top/ bottom (or somewhere in-between) aligned.

This is useful when, for example, the bottom of a rectangle needs to remain in place as its size increases.

## UI

**Common Attributes**

**X** - A value of `-1` will set pinning to the left of the Shape’s bounding box. A value of `1` will set it to the right.

**Y** - A value of `-1` will set pinning to the bottom of the Shape’s bounding box. A value of `1` will set it to the top.

### Example

1. Hold `Option/Alt` and click the Rectangle tool in the Toolbar to create a default rectangle.
2. In the Attribute Editor, click the `+` button on the Rectangle's **Deformers** attribute.
3. Choose **Align** from the list.
4. Set the Align's **Y** attribute to **1**.

As the Rectangle's **Size H** (height) is increased/decreased its top will move up and down while its bottom remains in place.
