DOKK / manpages / debian 13 / libsdl3-doc / SDL_CursorVisible.3.en
SDL_CursorVisible(3) SDL3 FUNCTIONS SDL_CursorVisible(3)

SDL_CursorVisible - Return whether the cursor is currently being shown.

Defined in SDL3/SDL_mouse.h

#include "SDL3/SDL.h"
bool SDL_CursorVisible(void);

Returns true if the cursor is being shown, or false if the cursor is hidden.

This function should only be called on the main thread.

This function is available since SDL 3.2.0.

(3), SDL_HideCursor(3), (3), SDL_ShowCursor(3)

SDL 3.2.10 Simple Directmedia Layer