Check if window is currently fullscreen
None.
raylib.InitWindow 800, 600, "Fullscreen Demo" while not raylib.WindowShouldClose if raylib.IsKeyPressed(raylib.KEY_F) then raylib.ToggleFullscreen raylib.BeginDrawing raylib.ClearBackground color.white if raylib.IsWindowFullscreen then raylib.DrawText "Fullscreen ON (F to toggle)", 10, 10, 20, color.green else raylib.DrawText "Fullscreen OFF (F to toggle)", 10, 10, 20, color.black end if raylib.EndDrawing end while raylib.CloseWindow
There was an error while loading. Please reload this page.