Playing Child object animation


I’m having trouble accessing Child object animation.
I attached an animation to one of child objects, I want the animation to play when player health goes down.
Can you please help me figure out what’s wrong?
Here is my script:

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

     public class PlayerManager : MonoBehaviour {
    public GameObject player;
private Animator playerAnimator;

void Start () {
	Instantiate (player, new Vector3 (0,0,0), Quaternion.identity);
	playerAnimator = GetComponentInChildren<Animator>();

void Update () {

	if ( < 4) {

	} else if ( < 3) {

	} else if ( < 2) {



is it playing or what is animation doing mate and why did you put animator in child you can use it in parent?

I think if you animate from parent that might work?