#pragma section-numbers off #pragma disable-camelcase || DRAFT|| = SDL_WarpMouseInWindow = Use this function to move the mouse to the given position within the window. <> == Syntax == {{{#!highlight cpp void SDL_WarpMouseInWindow(SDL_Window* window, int x, int y) }}} == Function Parameters == ||'''window'''||the window to move the mouse into, or NULL for the current mouse focus|| ||'''x'''||the x coordinate within the window|| ||'''y'''||the y coordinate within the window|| == Code Examples == {{{#!highlight cpp You can add your code example here }}} == Remarks == This function generates a mouse motion event. == Related Functions == .[[SDL_WarpMouseGlobal]] ---- [[CategoryAPI]], [[CategoryMouse]]