Skip to content

Enum

Enum.DisplaySize

This enum is used with GuiService.ViewportDisplaySize to indicate the internally-categorized rendering size of the viewport.

Official docs ↗
ItemValueSummary
Enum.DisplaySize.Small0Viewport is categorized as small. Applies to most tablet/mobile/handheld devices.
Enum.DisplaySize.Medium1Viewport is categorized as medium. Applies to most laptops and monitors.
Enum.DisplaySize.Large2Viewport is categorized as large. Applies to most TVs or larger.

Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com.