SplitScript reference / timer / pauseGameTime

timer.pauseGameTime

Function

timer.pauseGameTime() -> None

Pauses the timer's game-time clock.

isLoading should remain the normal way to remove loads. This explicit operation is intended for lifecycle transitions such as ensuring game time does not advance after the attached process closes.

Effects: writes timer state

Runtime behavior: available everywhere; synchronous

Examples

Pause game time after detaching

onDetach {
    timer.pauseGameTime()
}