Skip to content

GetGameTime

Read game time from current game state.

GetGameTime()

Inputs: None.

Output: Whole match seconds, or nil when the native clock is unavailable. Zero is a valid time.

Errors and unavailable states: If available is false, ignore the first return value; it is not a confirmed result.

See Game data and world for related calls and usage notes.