.\" Automatically generated by Pandoc 2.17.1.1 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "al_set_mouse_xy" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_set_mouse_xy - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include bool al_set_mouse_xy(ALLEGRO_DISPLAY *display, int x, int y) \f[R] .fi .SH DESCRIPTION .PP 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(3alleg5) event. .PP Returns true on success, false on failure. .SH SEE ALSO .PP al_set_mouse_z(3alleg5), al_set_mouse_w(3alleg5)