Topic was automatically imported from the old Question2Answer platform.
Asked By
Help me please
Hi everyone!
In my project I have a portrait mode game while in one scene I want to make it in landscape made please tell me how to change project settings in code
I see that this was available in OS for Godot 2.1, but hasn’t been in the OS since at least Godot 3.1. Was this functionality moved somewhere else, or is it simply not available as of Godot 4.2??
In case someone else comes across this topic and is wondering where OS.set_screen_orientation went, I just found out it was moved to DisplayServer.screen_set_orientation. I guess the change in the wording of the function was why I couldn’t find anything in the docs