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

# withUnsynchronized(_:)

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

```
@MainActor @preconcurrency func withUnsynchronized(_ changes: () -> Void)
```

## Parameters

`changes`

A closure that the method calls while suppressing
synchronization triggers.

## Discussion

Use this method to make local changes that don’t affect remote peers,
like aligning a billboard component to face the local camera.

Using this method doesn’t permanently prevent changes from being
synchronized. If you modify the same components immediately before the
call to [`withUnsynchronized(_:)`](/documentation/RealityKit/HasSynchronization/withUnsynchronized(_:)), or anytime
afterward, the changes are synchronized.

If the local peer doesn’t own the associated entity, changes that the
remote owner makes continue to synchronize, overwriting local,
unsynchronized changes.

---

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)