<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSWindow/OrderingMode",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSWindowOrderingMode"
  },
  "title" : "NSWindow.OrderingMode"
}
-->

# NSWindow.OrderingMode

Constants that let you specify how a window is ordered relative to another window.

```
enum OrderingMode
```

## Overview

For more information, see [`order(_:relativeTo:)`](/documentation/AppKit/NSWindow/order(_:relativeTo:)).

## Topics

### Constants

[`NSWindow.OrderingMode.above`](/documentation/AppKit/NSWindow/OrderingMode/above)

Moves the window above the indicated window.

[`NSWindow.OrderingMode.below`](/documentation/AppKit/NSWindow/OrderingMode/below)

Moves the window below the indicated window.

[`NSWindow.OrderingMode.out`](/documentation/AppKit/NSWindow/OrderingMode/out)

Moves the window off the screen.



---

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)