if you do touch out tm,tx,ty it will set the variable tm to a number that tells you whether the touch screen is being touched or not. you'll have to test to figure out which number means it's not being touched, i forgot what it was. it will set the variables tx and ty to the coordinates of where the touch screen was last touched. x 0-319 y 0-239 xscreen changes the way the screens are used.