toggleWindowMode()
1
2
with this lua script line you can toggle between window and fullscreen mode.
But as AFRLme said: its a little bit buggy when resizing the window and returning to fullscreen mode again...toggleWindowMode()
1
2
Is it possible to get the screen resolution of the monitor via lua?
Buy that you could change the window size to its size before toggling back to fullscreen as a workaround...