---
title: "arrangeInFront(_:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsapplication/arrangeinfront(_:)"
---

# arrangeInFront(_:)

Arranges windows listed in the Window menu in front of all other windows.

## Declaration

```swift
func arrangeInFront(_ sender: Any?)
```

## Parameters

- `sender`: The object that sent the command.

## Discussion

Discussion Windows associated with the app but not listed in the Window menu are not ordered to the front.

## See Also

### Related Documentation

- [addWindowsItem(_:title:filename:)](appkit/nsapplication/addwindowsitem(_:title:filename:).md)
- [removeWindowsItem(_:)](appkit/nsapplication/removewindowsitem(_:).md)
- [makeKeyAndOrderFront(_:)](appkit/nswindow/makekeyandorderfront(_:).md)

### Managing Window Layers

- [preventWindowOrdering()](appkit/nsapplication/preventwindowordering().md)
