<!--
{
  "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",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation18HasSynchronizationP"
  },
  "title" : "HasSynchronization"
}
-->

# HasSynchronization

An interface that enables an entity to be synchronized between processes and
networked applications.

```
@MainActor @preconcurrency protocol HasSynchronization : Entity
```

## Overview

All entities automatically adopt this protocol because the [`Entity`](/documentation/RealityKit/Entity) base
class does. This adoption gives all entities a [`SynchronizationComponent`](/documentation/RealityKit/SynchronizationComponent)
instance, and a collection of methods for manipulating the component, that
you use to manage ownership of the entity.

## Topics

### Accessing the component

[`synchronization`](/documentation/RealityKit/HasSynchronization/synchronization)

The entity’s synchronization component.

### Managing ownership

[`isOwner`](/documentation/RealityKit/HasSynchronization/isOwner)

A Boolean that indicates whether the calling process owns the entity.

[`requestOwnership(timeout:_:)`](/documentation/RealityKit/HasSynchronization/requestOwnership(timeout:_:))

Requests ownership of the entity.

### Making local changes

[`withUnsynchronized(_:)`](/documentation/RealityKit/HasSynchronization/withUnsynchronized(_:))

Calls the given closure in a way such that component changes that the
closure makes don’t trigger synchronization.

## Relationships

### Conforming Types

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

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

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

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

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

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

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

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

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

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

### Inherits From

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

---

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)