diff --git a/content/Window/_index.md b/content/Window/_index.md index ce517d9..ab90bfc 100644 --- a/content/Window/_index.md +++ b/content/Window/_index.md @@ -19,4 +19,10 @@ You can change the screen mode at runtime with the `ChangeScreenMode` method: Window.ChangeScreenMode(ScreenMode.Fullscreen); ``` +You can change the window size at runtime with the `SetWindowSize` method. + +```cs +Window.SetWindowSize(1280, 720); +``` + Note that if you change the screen resolution, it is *your* responsibility to manage any graphics state that may need to change as a result of this change.