Input.GetKey iPhone replacement?

So I use Input.GetKey to get if I’m holding a key down (if I’m holding the key down my guy continues to fly up which is what I want). I’ve been looking around but I’ve not been able to find a way to do that on the iphone when pressing a guiTexture. Any help would be much appreciated, Thanks!

On iOS all goes through Input.touches

how you use those data and with what you compare it (like HitTest on a guitexture) is up to you

I know I have experience using Input.touches but I don’t know how to get if a guitexture is being continuously touches as the only touch.phases are Moved, Ended, Began, and Stationary, would Stationary do what I wanted?

You can use it but I would not react to phases there at all, instead just check if the touch fullfills the hittest. As you technically don’t care for it moving or not moving, you only care for the text being touched

Ok wow I feel really stupid now. All I had to do was check for the hittest without using touch phases at all. Thanks for the help.