<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GameKit",
  "identifier" : "/documentation/GameKit/GKPlayer/scopedIDsArePersistent()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "GameKit"
    ],
    "preciseIdentifier" : "c:objc(cs)GKPlayer(im)scopedIDsArePersistent"
  },
  "title" : "scopedIDsArePersistent()"
}
-->

# scopedIDsArePersistent()

Returns a Boolean value depending on whether the player identifiers are persistent across game instances or unique to the game instance.

```
func scopedIDsArePersistent() -> Bool
```

## Return Value

Returns <doc://com.apple.documentation/documentation/Swift/true> if the [`gamePlayerID`](/documentation/GameKit/GKPlayer/gamePlayerID) and [`teamPlayerID`](/documentation/GameKit/GKPlayer/teamPlayerID) properties are the same across all instances of this game; otherwise, <doc://com.apple.documentation/documentation/Swift/false> if the identifiers are unique to this game instance only.

## Discussion

An instance is the time between when the game launches and when the game terminates.

---

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)