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

# setFrameOrigin(_:)

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

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

## Parameters

`point`

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

## Discussion

Note that the window server limits window position coordinates to ±16,000.

---

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)