<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSWindow/cascadeTopLeft(from:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSWindow(im)cascadeTopLeftFromPoint:"
  },
  "title" : "cascadeTopLeft(from:)"
}
-->

# cascadeTopLeft(from:)

Positions the window’s top-left to a given point.

```
func cascadeTopLeft(from topLeftPoint: NSPoint) -> NSPoint
```

## Parameters

`topLeftPoint`

The new top-left point, in screen coordinates, for the window. When <doc://com.apple.documentation/documentation/Foundation/NSZeroPoint>, the window is not moved, except as needed to constrain to the visible screen

## Return Value

The point shifted from top left of the window in screen coordinates.

## Discussion

The returned point can be passed to a subsequent invocation of [`cascadeTopLeft(from:)`](/documentation/AppKit/NSWindow/cascadeTopLeft(from:)) to position the next window so the title bars of both windows are fully visible.

---

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)