<!--
{
  "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/HasSynchronization/requestOwnership(timeout:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation18HasSynchronizationPAAE16requestOwnership7timeout_ySd_yAA0D9ComponentV0F24TransferCompletionResultOctF"
  },
  "title" : "requestOwnership(timeout:_:)"
}
-->

# requestOwnership(timeout:_:)

Requests ownership of the entity.

```
@MainActor @preconcurrency func requestOwnership(timeout: TimeInterval = 15, _ callback: @escaping (SynchronizationComponent.OwnershipTransferCompletionResult) -> Void)
```

## Parameters

`timeout`

A time in seconds to wait before giving up.

`callback`

A closure that the method calls when the request completes
or times out.

## Discussion

Requesting ownership isn’t guaranteed to succeed.

---

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)