<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 7.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/ScenePhase/active",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI10ScenePhaseO6activeyA2CmF"
  },
  "title" : "ScenePhase.active"
}
-->

# ScenePhase.active

The scene is in the foreground and interactive.

```
case active
```

## Discussion

An active scene isn’t necessarily front-most. For example, a macOS
window might be active even if it doesn’t currently have focus.
Nevertheless, all scenes should operate normally in this phase.

An app or custom scene in this phase contains at least one active scene
instance.

---

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)