Add IsCursorEnabled

This commit is contained in:
sirsegv 2025-12-20 18:02:03 +07:00 • committed by GitHub
commit 737f00ef81
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -853,6 +853,12 @@ bool IsCursorHidden(void)
return CORE.Input.Mouse.cursorHidden;
}
// Check if cursor is enabled (unlocked)
bool IsCursorEnabled(void)
{
return !CORE.Input.Mouse.cursorLocked;
}
// Check if cursor is on the current screen
bool IsCursorOnScreen(void)
{