Handle Touch Event

How handle Touch Event on both segments of the screen simultaneously? I create game in pong on both player, but method onTouchEvent(MotionEvent motionEvent) can't handle both touch player. Please, help me!

8th Nov 2021, 6:08 PM
1 Answer
In java we are having events KeyEvent : when key is clicked or pressed or released MouseEvent : when mouse is clicked pressed released entered exited moved dragged WindowEvent : when window is opened closed closing activated deactivated iconified deiconified
9th Nov 2021, 9:45 AM
sree harsha
sree harsha - avatar