-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.IsWindowMaximized
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Check if window has been maximized
None.
| Condition | Return Value |
|---|---|
| (always) | number |
raylib.InitWindow 800, 600, "Window Maximized Demo"
while not raylib.WindowShouldClose
raylib.BeginDrawing
raylib.ClearBackground color.white
if raylib.IsWindowMaximized then
raylib.DrawText "Window is maximized", 10, 10, 20, color.blue
else
raylib.DrawText "Window is not maximized", 10, 10, 20, color.black
end if
raylib.EndDrawing
end while
raylib.CloseWindow