Client-side functionsRAGE Static ObjectsSystemProperties:isFocusedOn this pageSystem.isFocusedClient-side function JavaScript Return value boolean Syntax mp.system.isFocused Example mp.events.add("playerReady", () => { if (mp.system.isFocused) { mp.console.logInfo(`Player is focused into the game`); }})