Hello Developers,
I am working on UI for my game and I want to change the player screen orientation via a local script. So, in Roblox Studio you can change screen orientation with a button, but when I run the function it doesn’t change the orientation.
(I would imagine this is on purpose)
My Code
local function Portrait()
StarterGui.ScreenOrientation = "Portrait"
end
Would this change a players screen orientation?