Need help with 2D game

So me and my friend have been trying to figure this out with no luck we have the attack flipbook made (sprites) and we are trying to make it where when you attack you do damage to the enemy and not this (you jump on the enemy to kill it) we have seen to many of those as of late can someone help me figure out how to make it so where when you press the attack button you swing your sword and hurt/kill the emeney?

I think this tutorial should also work with paper 2d -> https://wiki.unrealengine/Melee It will show you how to create a basic melee system. :slight_smile:

its a good tutorial but its not very detail or explained fully in how he set it up but i do like it alot