<!--
{
  "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/NSStringFromGCPoint2(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Game Controller"
    ],
    "preciseIdentifier" : "c:@F@NSStringFromGCPoint2"
  },
  "title" : "NSStringFromGCPoint2(_:)"
}
-->

# NSStringFromGCPoint2(_:)

Returns a string representation of a point.

```
func NSStringFromGCPoint2(_ point: GCPoint2) -> String
```

## Parameters

`point`

The point to convert to a string.

## Return Value

A string of the form `{a, b}`, where `a` and `b` are the x and y coordinates of `point`.

## Discussion

---

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)