You should be able to deactivate the texture on function Start(), activate it if you press mouse1 and deactivate it on release. I don’t know exactly what the function is called, I use keys not mouse, so you’ll wanna look it up but it will look like this:
function Start()
{
crosshairTexture.SetActiveRecursively(false);
}
function OnMouseDown()
{
crosshairTexture.SetActiveRecursively(true);
}
function OnMouseUp()
{
crosshairTexture.SetActiveRecursively(false);
}