For the complete documentation index, see llms.txt. This page is also available as Markdown.

Game

Handles the game info overlay and the Toss Game Center leaderboard/profile.

API list

API
Description
Details

Game.openLeaderboard

Opens the Game Center leaderboard webview

Documentation

Game.setLeaderboardScore

Submits the game score to the Toss Game Center leaderboard

Documentation

Game.getUserProfile

Gets Toss Game Center profile information

Documentation

Game.subscribeInfoOverlayHidden

Subscribes to when the game info overlay disappears

Documentation

Was this helpful?