.\" Automatically generated by Pandoc 3.5 .\" .TH "al_set_mouse_xy" "3" "" "Allegro reference manual" .SH NAME al_set_mouse_xy \- Allegro 5 API .SH SYNOPSIS .IP .EX #include \f[B]\f[R] bool al_set_mouse_xy(ALLEGRO_DISPLAY *display, int x, int y) .EE .SH DESCRIPTION Try to position the mouse at the given coordinates on the given display. The mouse movement resulting from a successful move will generate an ALLEGRO_EVENT_MOUSE_WARPED(3) event. .PP Returns true on success, false on failure. .SH SEE ALSO al_set_mouse_z(3), al_set_mouse_w(3)