TOUCH function return the time that the screen is pressed. Put a condition that only check if the stylus is on a rectangle when TT==1. TOUCH OUT ->TT<-,TX,TY