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