# Zones

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

While the listener is inside the [Area](/ref/audio.AudioZone2D.html#audio.AudioZone2D.Area.md) of an [Audio Zone 2D](/ref/audio.AudioZone2D.md), the zone's Bus is turned to its Gain over Fade Time. The area is a rectangle in the zone node's space.

`audio.WorldBusGain(bus)` reports the last world-layer target selected by zones. The actual mixer also applies fade, session volume and player settings.

- Among overlapping zones on one bus the highest Priority wins, then the zone entered later. Leaving one zone leaves the others in place.
- Zones act on the world layer of the mixer, under the player's settings and the session, and end with the world.
- A zone changes the whole bus, not one source: use it for muffling music indoors or quieting ambience near a menu.

In Try it, the music bus drops to a fifth while the listening ball rolls through the purple area, and comes back when it leaves. Set Gain to 0 to silence the music inside, or raise Fade Time for a slower change.
