SixL client API / system / SystemMp
Interface: SystemMp
The client's machine as the core sees it.
Example
if (mp.system.isFullscreen) { }
Properties
isFocused
readonlyisFocused:boolean
Whether the game (or a page over it) has the focus: the player is looking at the game, not at another window.
Remarks
Partial: looked at four times a second; not yet confirmed in the game.
Example
if (!mp.system.isFocused) mp.console.logInfo('the game is in the background');
isFullscreen
readonlyisFullscreen:boolean
Whether the game's window covers its whole monitor (fullscreen, or a borderless window that covers it).
Remarks
Partial: looked at four times a second; not yet confirmed in the game.
Example
const full = mp.system.isFullscreen;