---
title: amount
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/immersionchangecontext/amount
---

# amount

The current amount of immersion.

## Declaration

```swift
let amount: Double?
```

## Discussion

Discussion Your app can display virtual content using 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.
