<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/PresentationComponent/isPresented",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "RealityKit",
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:19_RealityKit_SwiftUI21PresentationComponentV11isPresentedSbvp"
  },
  "title" : "isPresented"
}
-->

# isPresented

A boolean value that indicates whether the content is presented.

```
var isPresented: Bool { get set }
```

## Discussion

If you initialize the component with a binding, that binding will
mirror the value of this property. If the component is initialized
without a binding, this property will default to `true`.

When the presentation is dismissed by the system, the system will
set this value to `false`, and trigger a `ComponentEvents.DidChange`
event. Setting this value back to `true` will cause the modal to
be presented again.

---

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)