Check if cursor is not visible
None.
raylib.InitWindow 800, 600, "Cursor Hidden Demo" raylib.HideCursor while not raylib.WindowShouldClose raylib.BeginDrawing raylib.ClearBackground color.white if raylib.IsCursorHidden then raylib.DrawText "Cursor is hidden", 10, 10, 20, color.red else raylib.DrawText "Cursor is visible", 10, 10, 20, color.green end if raylib.EndDrawing end while raylib.CloseWindow
There was an error while loading. Please reload this page.