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

# targetEntity

The entity to play the animation.

## Declaration

```swift
var targetEntity: ActionEntityResolution
```
