Wrong Button touch?

I'm using the following code on a GUITexture called "Fire1":

function Update()
     if (Input.GetButtonDown ("Fire1")) {

Now my problem is it seems to "DoSomething" wherever on the screen I touch (Unity iPhone) does anyone have any idea why this is happening and how to solve it?


Your code is actually saying "whenever the "fire1" button is down do something". If you're using GUITextures instead of UnityGUI, you'll have to manage the input yourself with raycasts and colliders and such.