<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/RealityViewCameraContent/audioListener",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "RealityKit",
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:19_RealityKit_SwiftUI0A17ViewCameraContentV13audioListener0A10Foundation6EntityCSgvp"
  },
  "title" : "audioListener"
}
-->

# audioListener

The entity which defines the listener position and orientation for
spatial audio.

```
var audioListener: Entity? { get set }
```

## Discussion

By default this `audioListener` property is nil, which means that the
active camera entity will be used as the audio listener. The
`audioListener` can be set to any entity in the `scene` to use the
transform of the entity as the audio listener position and orientation.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)