---
title: floating
framework: swiftui
role: symbol
role_heading: Type Property
path: swiftui/windowlevel/floating
---

# floating

Floating window level.

## Declaration

```swift
static var floating: WindowLevel { get }
```

## Discussion

Discussion Use this if your window needs to function as a utility window and stay on top of other windows, for example, a PIP (picture-in-picture) window.
