Making a single GUIText disapear instead of all of them

Hello there, sorry if this is the wrong place to ask this.

Basically, i’m making a prototype for a point and click game, so atm it’s very basic. I have three cubes each off them related to an individual GUIText in the HUD. when i Click on each of them I want the GUIText related to disappear. However, I only need to click on one box and all three GUITexts in the HUD disappear instead of the one it’s related to.

I just can’t for the life of me figure out why :frowning:

Any help or advice would be appreciated,
Below is the Script i’m using:

var cluetext : GUIText;

function Update ()

{
	RemoveText();
}

function RemoveText ()

{
	if (Input.GetMouseButtonDown(0))
	cluetext.guiText.enabled = false;
}

Thanks.

Unfortunately that didn’t work, tried messing about with it a bit but with that change, no GUITexts disappear :S

Input.GetMouseButtonDown returns true when the user released the left mouse, and only that. It doesn’t mean the mouse was over the GuiText. Take a look at OnMouseXXX instead.