Handle Touch Event | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

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
BoikoMaxim2005
1 Answer
0
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