PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

GetPlatform

This function returns the client’s Enum/Platform.

There is currently no supported method to detect a user’s platform. However the following API members can be used to help determine the type of device being used:

  • GuiService/IsTenFootInterface
  • UserInputService/TouchEnabled
  • UserInputService/KeyboardEnabled
  • UserInputService/AccelerometerEnabled
  • UserInputService/GyroscopeEnabled
  • UserInputService/GamepadEnabled

Returns

Return Type Summary

An Enum indicating the client’s platform.