-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.WindowShouldClose
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Check if application should close NOTE: By default, if KEY_ESCAPE pressed or window close icon clicked
None.
| Condition | Return Value |
|---|---|
| (always) | number |
raylib.InitWindow 800, 600, "Demo"
while not raylib.WindowShouldClose
raylib.BeginDrawing
raylib.ClearBackground raylib.RAYWHITE
raylib.EndDrawing
end while
raylib.CloseWindow