Finding and naming a child issues

HI there,
I am having difficulty finding and naming a child object.

What I am doing is this…

	//Check to see if activeHero has a child. 
	///if so , this child is a nozzle and must be passed to wpnRealm.
	if(activeHero.transform.childCount > 0) //do something
	{
		print("activeHero.transform.childCount " + activeHero.transform.childCount);
		// Find the child "Hand" of the game object 
		// we attached the script to
		activeHero.GameObject.Find("Nozzle");
		activeNozzle = GameObject.Find("Nozzle");
	}

what I want to achieve is when I find “Nozzle” in the correct parent I want to then assign that Nozzle the var activeNozzle : GameObject. But I am getting this error.

GameObject refers to the static instance of GameObject. gameObject is another term for “the GameObject this thing is attached to”. If you’re looking for Nozzle that is a child of activeHero then you actually want Transform.Find() instead.

Thank you. It seems to have done the trick. I had done that originally but activeNozzle var was a gameObject type.

Thanks.

edit.
:::