I came across a problem.
I was following a tutorial. (downloaded their capx and it had the same problem)
If I attack the air, it hits the enemy.
So I can easily cheat and just kill him.
Pictured below is my screen.
Develop games in your browser. Powerful, performant & highly capable.
I don't see any collision check? Use Player on collision with Enemy or Player is overlapping Enemy.