<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GameKit",
  "identifier" : "/documentation/GameKit/GKAccessPoint/location-swift.property",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "GameKit"
    ],
    "preciseIdentifier" : "c:objc(cs)GKAccessPoint(py)location"
  },
  "title" : "location"
}
-->

# location

The corner of the screen to display the access point.

```
var location: GKAccessPoint.Location { get set }
```

## Discussion

Use this property to set one of four corners to display the access point in your game. The default for left-to-right languages is the upper-left corner, and for right-to-left languages, it’s the upper-right corner.

If the [`parentWindow`](/documentation/GameKit/GKAccessPoint/parentWindow) property is `nil` for volumetric and immersive visionOS games, GameKit doesn’t use the [`location`](/documentation/GameKit/GKAccessPoint/location-swift.property) property. For more information, see [Configure the access point on visionOS](/documentation/GameKit/adding-an-access-point-to-your-game#Configure-the-access-point-on-visionOS).

---

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)