Skip to content

Enum

Enum.DeviceSimulatorScalingMode

Controls how the Device Simulator viewport scales the simulated device resolution within the Studio window.

Official docs ↗
ItemValueSummary
Enum.DeviceSimulatorScalingMode.ScaleToPhysicalSize0Scales the simulated viewport so that its pixels correspond to their physical size on the developer's monitor, computed from the screen DPI and an optional target DPI override.
Enum.DeviceSimulatorScalingMode.ActualResolution1Renders the simulated viewport at a 1:1 pixel mapping with no scaling applied.
Enum.DeviceSimulatorScalingMode.FitToWindow2Scales the simulated viewport uniformly to fill as much of the available Studio window as possible while preserving the device's aspect ratio.

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