- Home /
Question by
Khena_B · Jan 08, 2018 at 05:03 PM ·
positionresolutioncenterwindowed
Windowed game not centered
Hey,
when i switch to a windowed resolution using this line of code:
Screen.SetResolution(960,540,false);
the game screen moves to the upper left corner of my monitor, is it possible to keep it centered?
Thanks
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612150101im_/https://answers.unity.com/themes/thub/images/avi.jpg)