<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macOS: 26.0.0 -",
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/EnvironmentValues/worldTrackingLimitations",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI17EnvironmentValuesVAAE24worldTrackingLimitationsShyAA05WorldF10LimitationVGvp"
  },
  "title" : "worldTrackingLimitations"
}
-->

# worldTrackingLimitations

The current limitations of the device tracking the user’s surroundings.

```
var worldTrackingLimitations: Set<WorldTrackingLimitation> { get set }
```

## Discussion

Read this environment value from within a view to obtain the current
limitations of the device tracking the user’s surroundings. The device’s
capabilities may be limited due to physical circumstances such as the
lighting. If any of the limitations occur due to changing circumstances,
the set is updated accordingly. For example, the following [`Text`](/documentation/SwiftUI/Text) view
automatically updates when the world tracking limitations change:

```
@Environment(\.worldTrackingLimitations)
private var worldTrackingLimitations

var body: some View {
    Text("Can track translation?" + worldTrackingLimitations
        .contains(.translation) ? "No" : "Yes")
}
```

When the device’s world tracking capabilities are limited, don’t prevent
the user from experiencing your app entirely. Instead, try to adapt the
user experience to the current circumstances in order to provide a
meaningful experience at all times.

---

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)