As I said earlier, this is a lot of declarative answer that will help you here. You need to share your code here to help something.
: onTouchEvent(MotionEvent event). event.getAction(), MotionEvent. MotionEvent.ACTION_DOWN, event.getX() getY() x, y. .
, MotionEvent.ACTION_UP (x, y ) yourObject.setTouched(false). , , .