---
title: audioListener
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/realityviewcameracontent/audiolistener
---

# audioListener

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

## Declaration

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

## Discussion

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.
