Topic was automatically imported from the old Question2Answer platform.
Asked By
igbow
OS.screen_orientation return the same value all the time
I know that I can use the changing width to detect the change of orientation (OS.window_size) I’m wondering tho if there is something easier.
I’d expect OS.screen_orientation to be the correct way to detect screen orientation. And, though I haven’t tested it, I’d expect its return value to change appropriately when the device orientation changes. Are you sure that’s not the case? If so, what device are you working with?