Why not just shooting out a projectile and make hit detection? Would make the controls much more intuitive
You could also just make it an auto attack like vampire survivors or so