- Home /
Detecting touch during OnGUI ()
Hey there
I'm making something targeted to the iPad which obviously does not support a mouse, so how do I check when my buttons drawn during OnGUI() are poked?
Thanks
Comment
Answer by Jessy · Feb 06, 2011 at 02:29 PM
There's nothing that refers to a mouse in any GUI function. Have you tried it and actually had a problem? Other than UnityGUI being slow, it worked fine.
Your answer
![](https://koobas.hobune.stream/wayback/20220613103022im_/https://answers.unity.com/themes/thub/images/avi.jpg)