GameKit.Achievement.Completed
-----------------------------

Queries completed state.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [GameKit](component_GameKit.md) | [8.5](newinversion85.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "GameKit.Achievement.Completed"; AchievementRef ) 

**MBS**( **"GameKit.Achievement.Completed";** /\* Queries completed state. \*/  
**$AchievementRef**) /\* The identifier for the achievement.e.g. $Achievement \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| AchievementRef | The identifier for the achievement. | $Achievement |

### Result

Returns 1, 0 or error.

### Description

Queries completed state.  
A Boolean value that states whether the player has completed the achievement.  
The value of this property is 1 if the percentComplete property is equal to 100.0; otherwise, it is 0.  
### See also

- [GameKit.Achievement.Player](GameKitAchievementPlayer.md)

This function is free to use.

Created 5th November 2018 , last changed 8th November 2018

  
[GZipFile.Decompress](GZipFileDecompress.md) - [GameKit.Achievement.GetPercentComplete](GameKitAchievementGetPercentComplete.md)

[HTML Version](GameKitAchievementCompleted.shtml)