#pragma section-numbers off #pragma disable-camelcase || DRAFT|| = SDL_SetCursor = Use this function to set the active cursor. <> == Syntax == {{{#!highlight cpp void SDL_SetCursor(SDL_Cursor* cursor) }}} == Function Parameters == ||'''cursor'''||a cursor to make active; see [[#Remarks|Remarks]] for details|| == Code Examples == {{{#!highlight cpp You can add your code example here }}} == Remarks == This function sets the currently active cursor to the specified one. If the cursor is currently visible, the change will be immediately represented on the display. [[SDL_SetCursor]](NULL) can be used to force cursor redraw, if this is desired for any reason. == Related Functions == .[[SDL_CreateCursor]] .[[SDL_GetCursor]] .[[SDL_ShowCursor]] ---- [[CategoryAPI]], [[CategoryMouse]]