Skip to main content

💻 Platform

This is used to find out what platform the player is playing on, to alter the user experience.

local Framework = require(path.to.framework).GetClient()
local Platform = Framework.Platform

This returns a dictionary of booleans:

{
Desktop = false,
Mobile = false,
Console = false,
VR = false,
SupportsVR = false;
}

The values are automatically changed, so all you have to do is:

local isConsole = Platform.Console