Skip to main content

System.isFullscreen

Client-side function

JavaScript​

Readonly property, returns whether player's screen is on full screen mode or not.

Return value​

  • boolean

Syntax​

mp.system.isFullscreen

Example​

mp.events.add("playerReady", () => {
if (mp.system.isFullscreen) {
mp.console.logInfo(`Player game is on full screen mode.`);
}
})