Detect fullscreen mode


#1

Is there a way to detect in code whether the program is running in fullscreen mode or windowed?


#2

And how to switch between them?


#3

Not built-in. You can use DefOS.


#4

You can check the project settings with sys.get_config(). See https://www.defold.com/ref/sys/#sys.get_config:key