SYNOPSIS

#include <allegro.h>

void scare_mouse_area(int x, int y, int w, int h);

DESCRIPTION

Like scare_mouse(), but will only hide the cursor if it is inside the specified rectangle. Otherwise the cursor will simply be frozen in place until you call unscare_mouse(), so it cannot interfere with your drawing.

RELATED TO scare_mouse_area…

unscare_mouse(3alleg4), scare_mouse(3alleg4), show_mouse(3alleg4)