SDL_GetCursor3
Get the active cursor.
Usage
#include "SDL3/SDL.h"
SDL_Cursor * SDL_GetCursor(void);
Header file
Defined in SDL3/SDL_mouse.h
Overview
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 ().
Return value
( SDL_Cursor
*) Returns the active cursor or NULL if there is no mouse.
Thread safety
This function should only be called on the main thread.
Releases
12 releases since Debian 3.0 (Woody); the text changed 2 times.