Check if window has been minimized
None.
raylib.InitWindow 800, 600, "Window Minimized Demo" while not raylib.WindowShouldClose raylib.BeginDrawing raylib.ClearBackground color.white if raylib.IsWindowMinimized then raylib.DrawText "Window is minimized", 10, 10, 20, color.gray else raylib.DrawText "Window is active", 10, 10, 20, color.green end if raylib.EndDrawing end while raylib.CloseWindow
There was an error while loading. Please reload this page.