Reference API Roblox

Engine API

Website

Related

Reference API Roblox

ScreenOrientation

The preference of in-game screen orientation on hand-held devices.

Items 5

HistoryNameValueDescription
290LandscapeLeft0

A preference where the game is displayed landscape (horizontally) with the bottom of the device on the left side of the screen.

290LandscapeRight1

A preference where the game is displayed landscape (horizontally) with the bottom of the device on the right side of the screen.

290LandscapeSensor2

A preference where the game is displayed landscape (horizontally) with the bottom of the device on the left of right side of the screen depending on the device's orientation (the sensor determines which side allows for the game to be displayed right-side-up).

290Portrait3

A preference where the game is displayed portrait (vertically) with the bottom of the device on the bottom of the screen.

290Sensor4

A preference where the game is displayed depending on the best match to the device's current orientation - either landscape (left/right) or portrait.

Removed items 2

HistoryNameValue
290Landscape0
290UserChoice3

Description

Indicates what orientation the game prefers to be played on mobile devices.

History 20

Settings