3 min read

Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.

Platform

The Platform enum is used to determine the operating system of the client.

Items

NameValueDescription
Windows0The client is running on a Windows Operating System.
OSX1The client is running on OSX (Apple desktop).
IOS2The client is running on IOS (Apple mobile).
Android3The client is running on Android (Google mobile).
XBoxOne4The client is running on an XBox One (console).
PS45The client is running on a PS4 (console).
PS36The client is running on a PS3 (console).
XBox3607The client is running on an XBox 360 (console).
WiiU8The client is running on a Wii U (console).
NX9The client is running on an NX Operating System (Cisco Nexus).
Ouya10The client is running on an Ouya Operating System (Android-Based).
AndroidTV11The client is running on an Android TV.
Chromecast12The client is running on Chromecast.
Linux13The client is running on a Linux Operating System (desktop).
SteamOS14The client is running on Steam.
WebOS15The client is running on WebOS.
DOS16The client is running on DOS.
BeOS17The client is running on BeOS.
UWP18The client is running on UWP.
PS519The client is running on a PS5 (console).
MetaOS20The client is running on Meta OS (Meta Quest VR platform).
Web21The client is running in a web browser.
None22The client's operating system is unknown.

Windows

The client is running on a Windows Operating System.

FieldValue
value0

OSX

The client is running on OSX (Apple desktop).

FieldValue
value1

IOS

The client is running on IOS (Apple mobile).

FieldValue
value2

Android

The client is running on Android (Google mobile).

FieldValue
value3

XBoxOne

The client is running on an XBox One (console).

FieldValue
value4

PS4

The client is running on a PS4 (console).

FieldValue
value5

PS3

The client is running on a PS3 (console).

FieldValue
value6

XBox360

The client is running on an XBox 360 (console).

FieldValue
value7

WiiU

The client is running on a Wii U (console).

FieldValue
value8

NX

The client is running on an NX Operating System (Cisco Nexus).

FieldValue
value9

Ouya

The client is running on an Ouya Operating System (Android-Based).

FieldValue
value10

AndroidTV

The client is running on an Android TV.

FieldValue
value11

Chromecast

The client is running on Chromecast.

FieldValue
value12

Linux

The client is running on a Linux Operating System (desktop).

FieldValue
value13

SteamOS

The client is running on Steam.

FieldValue
value14

WebOS

The client is running on WebOS.

FieldValue
value15

DOS

The client is running on DOS.

FieldValue
value16

BeOS

The client is running on BeOS.

FieldValue
value17

UWP

The client is running on UWP.

FieldValue
value18

PS5

The client is running on a PS5 (console).

FieldValue
value19

MetaOS

The client is running on Meta OS (Meta Quest VR platform).

FieldValue
value20

Web

The client is running in a web browser.

FieldValue
value21

None

The client's operating system is unknown.

FieldValue
value22