Accessing a parent's other children

I have a Player GameObject which has many children. One of them is an Animator which I am trying to access from a script attached to another child (of the Player GameObject).

private Animator animator;

void Awake(){
animator = transform.parent.FindChild ("Animator");
}

Basically accessing the parent first then it’s child Animator (named “Animator”).

The error being thrown is - Cannot implicitly convert type ‘UnityEngine.Transform’ to ‘UnityEngine.Animator’ .

What seems to be the problem?

FindChild is for finding child game objects, not components.

You want to use GetComponentsInChildren