Add IsCursorEnabled

This commit is contained in:
sirsegv 2025-12-20 18:02:03 +07:00 committed by GitHub
parent 13f9112d8c
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)
{