Animation after collision

I am creating a fighting game in which the player will grab another character and play it on the floor, but I’m trying to do and the animation is not performed. Could someone show me what I’m doing wrong?

Below is a snippet of code where I try to run the animation:

void OnCollisionEnter(Collision collision) {
    if ( == "Player") {
                animation.Play ("drop");

Thank you!

if ( == “Player”) {

When you call it’s getting the name of the object you are colliding with, not the object you are controlling. This needs to be set to the name of your enemy, most likely, if I understood your point correctly.