---
title: gain
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/ambientaudiocomponent/gain
---

# gain

The overall level for all sounds emitted from an entity.

## Declaration

```swift
var gain: Audio.Decibel { get set }
```

## Discussion

Discussion In relative Decibels, in the range  -.infinity ... .zero where .zero is the default.
