1 min read

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

DeviceForm

Studio-only device form factor for device emulation. Passed as the DeviceForm field of the device info table accepted by StudioDeviceSimulatorService:CreateDeviceAsync() and StudioDeviceSimulatorService:UpdateDeviceAsync(), and exposed on device records returned by StudioDeviceSimulatorService:GetDeviceListAsync().

Items

NameValueDescription
Console0Represents a gaming console device, such as an Xbox or PlayStation.
Phone1Represents a mobile phone with a touchscreen.
Tablet2Represents a tablet with a touchscreen.
Desktop3Represents a desktop or laptop computer.
VR4Represents a virtual reality headset.

Console

Represents a gaming console device, such as an Xbox or PlayStation.

FieldValue
value0

Phone

Represents a mobile phone with a touchscreen.

FieldValue
value1

Tablet

Represents a tablet with a touchscreen.

FieldValue
value2

Desktop

Represents a desktop or laptop computer.

FieldValue
value3

VR

Represents a virtual reality headset.

FieldValue
value4