---
title: "NSMakePoint(_:_:)"
framework: foundation
role: symbol
role_heading: Function
path: "foundation/nsmakepoint(_:_:)"
---

# NSMakePoint(_:_:)

Creates a new NSPoint from the specified values.

## Declaration

```swift
func NSMakePoint(_ x: Double, _ y: Double) -> NSPoint
```

## Return Value

Return Value An NSPoint having the coordinates x and y.

## See Also

### Managing Points

- [NSEqualPoints(_:_:)](foundation/nsequalpoints(_:_:).md)
- [NSPointFromString(_:)](foundation/nspointfromstring(_:).md)
- [NSStringFromPoint(_:)](foundation/nsstringfrompoint(_:).md)
- [NSPointFromCGPoint(_:)](foundation/nspointfromcgpoint(_:).md)
- [NSPointToCGPoint(_:)](foundation/nspointtocgpoint(_:).md)
