---
title: targetEntity
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/playaudioaction/targetentity
---

# targetEntity

The entity to play the audio.

## Declaration

```swift
var targetEntity: ActionEntityResolution
```
