Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How do I make sure I have the right ScreenOrientation?

Asked by 6 years ago

I'm making a game which users can play only in Portrait mode. However, when roblox loads the game, it is automatically in LandscapeLeft Mode for a brief second, and later loads into portrait mode. I am trying to detect when this change happens

I've tried monitoring the CurrentScreenOrientation Property of PlayerGui in Studio - it should tell what orientation the device currently is in.

However, I have found that this property does not update even if you turn the emulator screen in Studio.

Is this a bug? Am I not testing this enough?

0
If it is a brief moment , I think you are good. Just in case , test it on your mobile or tablet not on an emulator? arshad145 392 — 6y
0
xD, That's what I did thesit123 509 — 6y

Answer this question