# Editor tools

> Aego 0.12.5 · development; docs build `4a32b816933e02930662f6a443cb25abe6050d090c55e237cbff5c44ae9b25f8`. [Build manifest](/docs-build.json).

The editor draws colliders, contacts and forces and lets you shape colliders with handles. These tools work in the Scene View, and some of them over the running game.

![Collider outlines and contacts drawn over the Game View during Play](shots/physics-debug.png)

## Handles

Select a node with a collider to drag its sides, radius, length or vertices. Double-click an edge of a polygon to add a vertex; Alt-click a vertex to remove it. Joints show anchors on both bodies. Every drag is one Undo step.

**Snap to Sprite** in the Inspector of box, circle and capsule colliders fits the shape to the node's sprite.

## Overlays

- The **Physics** menu turns on the debug overlay: shapes, contacts, bounding boxes, joints, islands and the broadphase tree. In edit mode only shapes are drawn.
- **Vectors** (`V` in the Scene View) draws velocity, angular velocity, forces, contact impulses, gravity and script fields with `@export(gizmo="vector")`. Drag the tip of a field arrow to change the value.
- **Game View → Overlays** draws the same layers over the running game, with the game camera.

## Problems and profiling

- **Problems** lists collider and joint errors with a link to the node. Broken geometry blocks Play.
- **Profiler → Physics** shows bodies, pairs, islands and the time of each stage during Play.
