hello all , which API to use to find out , when user has click and drag in region of the screen , return a rectangle or a call back function to return the x ,y coordinates .