Check if window has been resizedLastFrame
None.
raylib.SetConfigFlags raylib.FLAG_WINDOW_RESIZABLE raylib.InitWindow 800, 600, "Resizable Window Demo" while not raylib.WindowShouldClose raylib.BeginDrawing raylib.ClearBackground color.white if raylib.IsWindowResized then w = raylib.GetScreenWidth h = raylib.GetScreenHeight raylib.DrawText "Resized to " + w + "x" + h, 10, 10, 20, color.blue else raylib.DrawText "Drag the window edge to resize", 10, 10, 20, color.black end if raylib.EndDrawing end while raylib.CloseWindow
There was an error while loading. Please reload this page.