---
title: "setProgress(on:to:)"
framework: gamekit
role: symbol
role_heading: Instance Method
path: "gamekit/gkgameactivity/setprogress(on:to:)"
---

# setProgress(on:to:)

Set a progress for an achievement for a player.

## Declaration

```swift
func setProgress(on achievement: GKAchievement, to percentComplete: Double)
```

## Mentioned in

Creating activities for your game

## Discussion

Discussion The framework reports achievement progress when the activity ends.

## See Also

### Getting and removing achievements

- [achievements](gamekit/gkgameactivity/achievements.md)
- [removeAchievements(_:)](gamekit/gkgameactivity/removeachievements(_:).md)
- [progress(on:)](gamekit/gkgameactivity/progress(on:).md)
- [setAchievementCompleted(_:)](gamekit/gkgameactivity/setachievementcompleted(_:).md)
