---
title: WindowLevel
framework: swiftui
role: symbol
role_heading: Structure
path: swiftui/windowlevel
---

# WindowLevel

The level of a window.

## Declaration

```swift
struct WindowLevel
```

## Overview

Overview Use this in conjunction with the .windowLevel(_:) modifier to control window levels.

## Topics

### Type Properties

- [automatic](swiftui/windowlevel/automatic.md)
- [desktop](swiftui/windowlevel/desktop.md)
- [floating](swiftui/windowlevel/floating.md)
- [normal](swiftui/windowlevel/normal.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Positioning a window

- [defaultPosition(_:)](swiftui/scene/defaultposition(_:).md)
- [windowLevel(_:)](swiftui/scene/windowlevel(_:).md)
- [WindowLayoutRoot](swiftui/windowlayoutroot.md)
- [WindowPlacement](swiftui/windowplacement.md)
- [defaultWindowPlacement(_:)](swiftui/scene/defaultwindowplacement(_:).md)
- [windowIdealPlacement(_:)](swiftui/scene/windowidealplacement(_:).md)
- [WindowPlacementContext](swiftui/windowplacementcontext.md)
- [WindowProxy](swiftui/windowproxy.md)
- [DisplayProxy](swiftui/displayproxy.md)
