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.

RELATED TO position_mouse…

install_mouse(3alleg4), position_mouse_z(3alleg4), set_mouse_range(3alleg4), set_mouse_speed(3alleg4), position_mouse_w(3alleg4)