<!--
{
  "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/OwnershipRequest/accept",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation21SynchronizationEventsO16OwnershipRequestV6acceptyycvp"
  },
  "title" : "accept"
}
-->

# accept

The callback function that the current owner calls to grant
ownership to the requesting peer.

```
let accept: () -> Void
```

## Discussion

If an entity’s
[`ownershipTransferMode`](/documentation/RealityKit/SynchronizationComponent/ownershipTransferMode-swift.property)
property is set to
[`SynchronizationComponent.OwnershipTransferMode.autoAccept`](/documentation/RealityKit/SynchronizationComponent/OwnershipTransferMode-swift.enum/autoAccept),
the entity automatically grants ownership to any other entity that
requests it.

In case you configure an entity to have a transfer mode of
[`SynchronizationComponent.OwnershipTransferMode.manual`](/documentation/RealityKit/SynchronizationComponent/OwnershipTransferMode-swift.enum/manual),
then when you receive an [`SynchronizationEvents.OwnershipRequest`](/documentation/RealityKit/SynchronizationEvents/OwnershipRequest)
event, call the
[`accept`](/documentation/RealityKit/SynchronizationEvents/OwnershipRequest/accept) method to complete
the transfer of ownership.

---

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)