# Anchors & Colliders

> Pin edges to other items or to the canvas with arrows, and keep items from overlapping with colliders.

Glider documentation · Building Graphics · Web page: https://cgglider.com/docs/anchors-colliders/

Sections of this page: [The toolbox](https://cgglider.com/docs/anchors-colliders.md) · [Anchors](https://cgglider.com/docs/anchors-colliders/anchors.md) · [Colliders](https://cgglider.com/docs/anchors-colliders/colliders.md) · [On air](https://cgglider.com/docs/anchors-colliders/on-air.md)

Switching the canvas tool strip between Masks and Anchor & Collider.

The tool strip on the left of a graphic scene holds one toolbox at a time. The two buttons at its top switch between them: Masks (the Photoshop-style mask and selection tools) and Anchor & Collider. The options bar along the top of the canvas follows the toolbox and the tool.

| Tool | Key | What it does |
| --- | --- | --- |
| Move | V | The usual handles. Anchored items still drag, resize and nudge: the change is stored as their margins, so they stay pinned. |
| Anchor | A | Pins a side of the selected item to an edge of another item or of the canvas. |
| Collider | C | Makes sides of the selected item solid and pads its collider box. |

Pressing A or C opens the Anchor & Collider toolbox from anywhere on the canvas; pressing a mask tool's key (M, L, B…) switches back to Masks. Below the tools, two toggles choose whether every item's anchors and colliders are drawn, or only the selection's.

> **The inspector still works:** Layout › Anchors and Layout › Collider in the inspector edit the same settings with fields. Anything set on the canvas shows there, and the other way round.

![The Anchor & Collider toolbox: every anchor drawn as an arrow with its margin, and the selected LIVE tag's two anchors in the options bar.](https://cgglider.com/docs-shots/anchors-toolbox.png)
