SDL_GetCursor - Get the active cursor.
Contents
Availability
This function is available since SDL 3.2.0.
Description
This function returns a pointer to the current cursor which is owned by the library. It is not necessary
to free the cursor with SDL_DestroyCursor().
Name
SDL_GetCursor - Get the active cursor.
Return Value
Returns the active cursor or NULL if there is no mouse.
See Also
SDL_SetCursor(3) Simple Directmedia Layer SDL 3.2.20 SDL_GetCursor(3)
Synopsis
#include<SDL3/SDL_mouse.h>SDL_Cursor*SDL_GetCursor(void);
Thread Safety
This function should only be called on the main thread.
