---
title: "setFrameTopLeftPoint(_:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nswindow/setframetopleftpoint(_:)"
---

# setFrameTopLeftPoint(_:)

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

## Declaration

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

## Parameters

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

## Discussion

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.

## See Also

### Sizing Windows

- [frame](appkit/nswindow/frame.md)
- [setFrameOrigin(_:)](appkit/nswindow/setframeorigin(_:).md)
- [constrainFrameRect(_:to:)](appkit/nswindow/constrainframerect(_:to:).md)
- [cascadeTopLeft(from:)](appkit/nswindow/cascadetopleft(from:).md)
- [setFrame(_:display:)](appkit/nswindow/setframe(_:display:).md)
- [setFrame(_:display:animate:)](appkit/nswindow/setframe(_:display:animate:).md)
- [animationResizeTime(_:)](appkit/nswindow/animationresizetime(_:).md)
- [aspectRatio](appkit/nswindow/aspectratio.md)
- [minSize](appkit/nswindow/minsize.md)
- [maxSize](appkit/nswindow/maxsize.md)
- [isZoomed](appkit/nswindow/iszoomed.md)
- [performZoom(_:)](appkit/nswindow/performzoom(_:).md)
- [zoom(_:)](appkit/nswindow/zoom(_:).md)
- [resizeFlags](appkit/nswindow/resizeflags.md)
- [resizeIncrements](appkit/nswindow/resizeincrements.md)
