- Home /
Android input multi touch
How to get multitouch on android? So that I can touch two buttons at a time.
Answer by hirenkacha · Apr 01, 2013 at 08:11 AM
Input.getTouch(0)
for one control and
input.getTouch(1)
for another control..
If you want to access both the touches you can use for loop to access.
if(Input.touchCount>0)
for(int i=0; i<Input.touchCount; i++)
{
print(Input.getTouch(i).position);
}
Answer by Maulik2208 · Apr 01, 2013 at 07:01 AM
hope this will be useful to you---->input.touches
Don't forget to mark the answer if found useful......cheers from INDIA......
Your answer
Follow this Question
Related Questions
,How Do get Touch input to work with the Player Input Component 1 Answer
TouchInput doesn't not exist in current content 0 Answers
Detect Gyroscope's rotation around a single axis? Like a car game. 0 Answers
Android Keyboard .text String returning empty? 1 Answer
Can virtual joysticks be used as joysticks in the input menu 1 Answer