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

# amount

The current amount of immersion.

```
let amount: Double?
```

## Discussion

Your app can display virtual content using [`ImmersiveSpace`](/documentation/SwiftUI/ImmersiveSpace) and the
different immersion styles to create immersive experiences. Depending on
the immersion style, none of it, parts of it, or a all of video
pass-through are occluded by your app while having an Immersive Space
opened, and the amount of it is represented by this value.

Some immersion styles allow changing the amount interactively by turning
the Digital Crown.

This value is `nil`, if your app currently does not provide any
immersive experience at all.

---

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)