Okay, I put together a small example. Go through it and if anything isn’t clear on how I did it, please let me know and I’ll explain! I know that the code to check if you’re on top of the enemy or not is not the best and should be improved upon. But as a start should do!
Also, you may have to change the engine version to match yours!