1:IF X==Xarea and Y==Yarea then gosub @popup 'for a precise area 2 for a general area If X>Leftside and X<Rightside then xactive=1 else xactive=0 If Y>Top and X<bottom then yactive=1 else yactive=0