Scroll to navigation

position_mouse(3alleg4) Allegro manual position_mouse(3alleg4)

NAME

position_mouse - Moves the mouse to the specified screen position. Allegro game programming library.

SYNOPSIS

#include <allegro.h>

void position_mouse(int x, int y);

DESCRIPTION

Moves the mouse to the specified screen position. It is safe to call even when a mouse pointer is being displayed.

SEE ALSO

install_mouse(3alleg4), position_mouse_z(3alleg4), set_mouse_range(3alleg4), set_mouse_speed(3alleg4), position_mouse_w(3alleg4)
version 4.4.3 Allegro