---
title: location
framework: gamekit
role: symbol
role_heading: Instance Property
path: gamekit/gkaccesspoint/location-swift.property
---

# location

The corner of the screen to display the access point.

## Declaration

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

## Mentioned in

Adding an access point to your game

## Discussion

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 property is nil for volumetric and immersive visionOS games, GameKit doesn’t use the location property. For more information, see Configure the access point on visionOS.

## See Also

### Managing the location

- [GKAccessPoint.Location](gamekit/gkaccesspoint/location-swift.enum.md)
- [frameInScreenCoordinates](gamekit/gkaccesspoint/frameinscreencoordinates.md)
- [parentWindow](gamekit/gkaccesspoint/parentwindow.md)
