[Help] Click to Destroy Object (2D)

I have created two spawners that emit enemies and I am trying to make it so that when I left click these enemies they get destroyed and even eventually play a death animation.
I tried running a Debug.Log but it’s not even picking up that I’m left clicking.
Does anyone know what I’m doing wrong? Is this not supposed to be attached to the object I’m destroying?
Here is what I have…

#pragma strict

function OnMouseDown() {
    Destroy(gameObject);
    Debug.Log (" Click ");
}

I recommend using raycasting.

You can cast a ray from the main camera at the mouse position and obtain information from the GameObject through RayCastHit.

Check out my signature for a video that goes over raycasting.

Best,

Jon