---
title: "headTracked(_:soundStageSize:)"
framework: audiotoolbox
role: symbol
role_heading: Type Method
path: "audiotoolbox/spatialaudioexperience/headtracked(_:soundstagesize:)"
---

# headTracked(_:soundStageSize:)

Create a head-tracked spatial audio experience with a specific anchoring strategy and sound stage size.

## Declaration

```swift
static func headTracked(_ anchoringStrategy: SpatialAudioExperiences.AnchoringStrategy, soundStageSize: SpatialAudioExperiences.SoundStageSize = .automatic) -> Self
```
