0 votes

What could that be?

in Engine by (842 points)

where did you set it?
there is orientation setting at Project settings > General > Display > Window > Handheld > Orientation.
and... also Export > Screen > Orientation in android case.

Both of them are set to PORTRAIT. What else could it be? Maybe the bug from Godot 1 is back somehow?

I met the same problem, how to correct it?
I am sorry that made a mistake just now,i answered the question.

1 Answer

0 votes
var win := get_viewport_rect().size
if win.x > win.y:
by (1,659 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.