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

# directivity

The radiation pattern for sound that an entity emits.

## Declaration

```swift
var directivity: Audio.Directivity
```

## Discussion

Discussion note: You can’t update the directivity property dynamically. Set it before you prepare or play an audio resource on an entity.
