-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.IsWindowMinimized
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Check if window has been minimized
None.
| Condition | Return Value |
|---|---|
| (always) | number |
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