Skip to main content

IsGamePaused

This function was added in DSL 3

Description​

Checks if the game is... paused.

function IsGamePaused() --[[ ... ]] end

Parameters​

None.

Return Values​

  • paused: boolean - Returns true if the game is paused, otherwise false.

Example​

if IsGamePaused() then
print('The game is paused.')
else
print('The game is not paused.')
end