---
name: DisplaySize
last_updated: 2026-06-11T23:11:58Z
type: enum
summary: "This enum is used with GuiService.ViewportDisplaySize to indicate the internally-categorized rendering size of the viewport."
---

# DisplaySize

This enum is used with [GuiService.ViewportDisplaySize](/docs/reference/engine/classes/GuiService.md) to indicate the
internally-categorized rendering size of the viewport.

**Type:** enum

## Items

| Name | Value | Description |
|------|-------|-------------|
| `Small` | 0 | Viewport is categorized as small. Applies to most tablet/mobile/handheld devices. |
| `Medium` | 1 | Viewport is categorized as medium. Applies to most laptops and monitors. |
| `Large` | 2 | Viewport is categorized as large. Applies to most TVs or larger. |