---
title: isListenerHeadTrackingEnabled
framework: avfaudio
role: symbol
role_heading: Instance Property
path: avfaudio/avaudioenvironmentnode/islistenerheadtrackingenabled
---

# isListenerHeadTrackingEnabled

A Boolean value that indicates whether the listener orientation is automatically rotated based on head orientation.

## Declaration

```swift
var isListenerHeadTrackingEnabled: Bool { get set }
```

## Discussion

Discussion To enable head tracking, your app must have the com.apple.developer.coremotion.head-pose entitlement. Set this value to true to enable head tracking with compatible AirPods.
