---
title: "trigger(handler:)"
framework: gamekit
role: symbol
role_heading: Instance Method
path: "gamekit/gkaccesspoint/trigger(handler:)"
---

# trigger(handler:)

Displays the Game Center dashboard as if the player taps or presses the access point.

## Declaration

```swift
func trigger(handler: @escaping () -> Void)
```

## Parameters

- `handler`: The block that GameKit calls after it displays the dashboard.

## Discussion

Discussion For games that use controllers or the Apple TV remote, you can use this method to programmatically display the dashboard.

## See Also

### Managing the access point

- [isFocused](gamekit/gkaccesspoint/isfocused.md)
- [trigger(state:handler:)](gamekit/gkaccesspoint/trigger(state:handler:).md)
- [trigger(player:handler:)](gamekit/gkaccesspoint/trigger(player:handler:).md)
- [trigger(achievementID:handler:)](gamekit/gkaccesspoint/trigger(achievementid:handler:).md)
- [trigger(leaderboardID:playerScope:timeScope:handler:)](gamekit/gkaccesspoint/trigger(leaderboardid:playerscope:timescope:handler:).md)
- [trigger(leaderboardSetID:handler:)](gamekit/gkaccesspoint/trigger(leaderboardsetid:handler:).md)
