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

# gain

The overall level for all sounds that an entity emits.

## Declaration

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

## Discussion

Discussion The gain level is in relative decibels, in the range  [-Decibel.infinity, Decibel.zero], where Decibel.zero is the default.
