Hey RhoX, are you still having issues finding the touched part?
Basically it goes like this,
if(TouchX > ButtonX && TouchX < ButtonX+ButtonWidth && TouchY > ButtonY && TouchY < ButtonY+ButtonHeight){
return true;
}
Where TouchX and TouchY are the points on the screen touched.
Where ButtonX and ButtonY are the button's positions on the screen.
Where ButtonWidth and ButtonHeight are the Width and Height of the button on the screen.
I'm assuming that was your most recent question, let me know if this helps.
Basically it goes like this,
if(TouchX > ButtonX && TouchX < ButtonX+ButtonWidth && TouchY > ButtonY && TouchY < ButtonY+ButtonHeight){
return true;
}
Where TouchX and TouchY are the points on the screen touched.
Where ButtonX and ButtonY are the button's positions on the screen.
Where ButtonWidth and ButtonHeight are the Width and Height of the button on the screen.
I'm assuming that was your most recent question, let me know if this helps.