<!--
{
  "availability" : [
    "iOS: 17.4.0 -",
    "iPadOS: 17.4.0 -",
    "macCatalyst: 17.4.0 -",
    "macOS: 14.3.0 -",
    "tvOS: 17.4.0 -",
    "visionOS: 1.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GameController",
  "identifier" : "/documentation/GameController/GCPoint2Make(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Game Controller"
    ],
    "preciseIdentifier" : "c:@F@GCPoint2Make"
  },
  "title" : "GCPoint2Make(_:_:)"
}
-->

# GCPoint2Make(_:_:)

Returns a point with the specified coordinates in a two-dimensional coordinate system.

```
func GCPoint2Make(_ x: Float, _ y: Float) -> GCPoint2
```

## Parameters

`x`

The x-coordinate of the point.

`y`

The y-coordinate of the point.

## Return Value

A point in a two-dimensional coordinate system.

---

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)