NPC Code: if ( mousex in |xmin,xmax| ) && mousey in |ymin,ymax| ){ // do this }
if ( mousex in |xmin,xmax| ) && mousey in |ymin,ymax| ){ // do this }