Skip to content

raylib.IsWindowReady

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Check if window has been initialized successfully

Parameters

None.

Return value

Condition Return Value
(always) number

Notes

Example

raylib.InitWindow 800, 600, "Window Ready Demo"
if raylib.IsWindowReady then
    print "Window initialized successfully"
else
    print "Window failed to initialize"
end if
raylib.CloseWindow

Clone this wiki locally