<!--
{
  "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/SynchronizationEvents/OwnershipChanged",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation21SynchronizationEventsO16OwnershipChangedV"
  },
  "title" : "SynchronizationEvents.OwnershipChanged"
}
-->

# SynchronizationEvents.OwnershipChanged

The event raised when ownership of an entity changes.

```
struct OwnershipChanged
```

## Topics

### Getting the involved parties

[`let entity: Entity`](/documentation/RealityKit/SynchronizationEvents/OwnershipChanged/entity)

The entity for which ownership is changed.

[`let newOwner: (any SynchronizationPeerID)?`](/documentation/RealityKit/SynchronizationEvents/OwnershipChanged/newOwner)

The new owner of the entity.

## Relationships

### Conforms To

[`Event`](/documentation/RealityKit/Event)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

---

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)