Skip to content

game ​

Check whether the game is loaded and the current session is in freemode.

Functions ​

game.has_loaded ​

Whether the resolved game state currently equals PLAYING; false if unavailable.

text
game.has_loaded()

game.is_freemode ​

Loaded, active Online session, no transition/lobby/tutorial/mission/minigame, and local player playing. Story mode returns false.

text
game.is_freemode()

These sample current state; a prior true does not guarantee a later native call remains valid across a session transition.