Error i cant expand the window but i can small it HELP PLEASE

Before proceeding, please use the forum search feature at the top of the page to check if your question has already been answered.

How do I…

Im trying to expand my game window by events but the game tries to do it but then goes again were it was i can small it but not expand it

What is the expected result

expand the game window

What is the actual result

it doesent work

Related screenshots

.

Project files (optional)

Not sure exactly what you are asking, but I wouldn’t use events to try to change the window size. If you know how big you want it, set the size in properties and set it to not change during game play:

doesent work (i want a resolution button that player can press) look my code


Also it seems to like to work one way i can small it but NO to expand it