This question was 
             closed Jan 20, 2016 at 04:04 PM by 
             AndrewBilotti for the following reason: 
             
 
            Found the answer myself
 
               Question by 
               AndrewBilotti · Jan 19, 2016 at 07:04 PM · 
                mobiletouchtouchscreen  
              
 
              On touch in a rectangle
Hi. I just started mobile development, and I am curious how I detect touch. I want it to detect when someone touches in anywhere between 0% left 0% top and 20% left 20% top. Thanks!
Code that I need:
Something like this:
 if (touched between 0% left 0% top and 20% left 20% top) {
 //do something
 }
 
              
               Comment
              
 
               
              This isn't really a place to ask people to write your code for you. Ins$$anonymous$$d you should try and do it yourself first, and then ask for help. There's no better way to learn than by doing. Here are some resources to get you started:
http://docs.unity3d.com/$$anonymous$$anual/$$anonymous$$obileInput.html