REM *********************************************** REM Title: Mouse Inside REM Author: Phaelax REM Downloaded from: http://dbcc.zimnox.com/ REM *********************************************** REM ************************************************** REM Checks to see if mouse is within the specified REM coordinates REM ************************************************** function mouseWithin(x1,y1,x2,y2) if mousex() > x1 and mousex() < x2 and mousey() > y1 and mousey() < y2 then exitfunction 1 endfunction 0