Mobile screen locked in portrait mode

so I made this game, and before I make an advertisement for it, I checked if the game works on mobile too, and then this happened

I wanted my game’s screen to be sideways.
I have no idea how this happened, and how to fix it.
If someone knows what to do, please help me thank you.

1 Like

Make sure you set Screen orientation in StarterGUI to Landscape.

do I do this in server script? and where do I put the script?

You don’t need a script, all you need to do is go to StarterGui in the Explorer and go into properties and find “ScreenOrientation” and set that to “Landscape.”