---
title: optionOnScreenAboveWindow
framework: coregraphics
role: symbol
role_heading: Type Property
path: coregraphics/cgwindowlistoption/optiononscreenabovewindow
---

# optionOnScreenAboveWindow

## Declaration

```swift
static var optionOnScreenAboveWindow: CGWindowListOption { get }
```

## Discussion

Discussion List all windows that are currently onscreen and in front of the window specified in the relativeToWindow parameter. Windows are returned in order from front to back.

## See Also

### Type Properties

- [excludeDesktopElements](coregraphics/cgwindowlistoption/excludedesktopelements.md)
- [optionAll](coregraphics/cgwindowlistoption/optionall.md)
- [optionIncludingWindow](coregraphics/cgwindowlistoption/optionincludingwindow.md)
- [optionOnScreenBelowWindow](coregraphics/cgwindowlistoption/optiononscreenbelowwindow.md)
- [optionOnScreenOnly](coregraphics/cgwindowlistoption/optiononscreenonly.md)
