The script defines a rectangle for where if the mouse clicks the area it
returns true.
//Sets a rectangle map
//Copyright (C)2007 Anthoni Caldwell
/*
Arguments:
0 - x1
1 - y1
2 - x2
3 - y2
*/
if ((mouse_x < argument0)&&(mouse_y < argument1)&&(mouse_x > argument2)&&(mouse_y > argument4)) and mouse_check_button_pressed(mb_left)
{
return true;
}
else
{
return false;
}Use it for what you will.











