---
title: "ActionEntityResolution.entityNamed(_:)"
framework: realitykit
role: symbol
role_heading: Case
path: "realitykit/actionentityresolution/entitynamed(_:)"
---

# ActionEntityResolution.entityNamed(_:)

An option that resolves an entity from the specified name within the scene of the entity playing the action.

## Declaration

```swift
case entityNamed(String)
```

## Discussion

Discussion note: Consider unique entity names when resolving with this option.
