---
title: "above(_:)"
framework: swiftui
role: symbol
role_heading: Type Method
path: "swiftui/windowplacement/position/above(_:)"
---

# above(_:)

Window position relative to the top edge of another window.

## Declaration

```swift
static func above(_ relativeWindow: WindowProxy) -> WindowPlacement.Position
```

## Parameters

- `relativeWindow`: The existing window that the new window will be placed relative to.
