Left Click Script Problems

So i was working on some code and ran into a problem

So the problem i received was unexpected symbol && in my code.

public bool DidUserClickLeftMouse(Vector3 hitPoint)
{
	float clickZone = 0.8f;
	if(
	mouseDownPoint.x < hitPoint.x + clickZone && mouseDownPoint.x > hitPoint.x - clickZone)&&
	mouseDownPoint.y < hitPoint.y + clickZone && mouseDownPoint.y > hitPoint.y - clickZone)&&
	mouseDownPoint.z < hitPoint.z + clickZone && mouseDownPoint.z > hitPoint.z - clickZone)
	  )
		 return true; else return false;
}

Any Help would be appreciated.

The parenthesis are incorrect (you were missing some). Try setting them like this:

public bool DidUserClickLeftMouse(Vector3 hitPoint)
{
    float clickZone = 0.8f;
    if(
    (mouseDownPoint.x < hitPoint.x + clickZone) && (mouseDownPoint.x > hitPoint.x - clickZone)&&
    (mouseDownPoint.y < hitPoint.y + clickZone) && (mouseDownPoint.y > hitPoint.y - clickZone)&&
    (mouseDownPoint.z < hitPoint.z + clickZone) && (mouseDownPoint.z > hitPoint.z - clickZone)
      )
        return true; else return false;
}