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

# setFrameTopLeftPoint(_:)

Positions the top-left corner of the window’s frame rectangle at a given point in screen coordinates.

```
func setFrameTopLeftPoint(_ point: NSPoint)
```

## Parameters

`point`

The new position of the window’s top-left corner in screen coordinates.

## Discussion

Note that the window server limits window position coordinates to ±16,000; if necessary, adjust `aPoint` relative to the window’s lower-left corner to account for this limit.

---

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)