<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/Entity/name",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation6EntityC4nameSSvp"
  },
  "title" : "name"
}
-->

# name

The name of the entity.

```
@MainActor @preconcurrency var name: String { get set }
```

## Discussion

You can find an entity by name in a scene by calling the scene’s
[`findEntity(named:)`](/documentation/RealityKit/Scene/findEntity(named:)) method. Or you can recursively search among
the children of a given entity by calling the entity’s
[`findEntity(named:)`](/documentation/RealityKit/Entity/findEntity(named:)) method.

Entity names are not guaranteed to be unique. When you search by name,
these methods return the first entity encountered with the given name.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)