Sorry. I really didn't write about it...
To make an attack, you need to hold down the LMB and press the button of the direction of the next attack. The direction of the next attack must be different from the direction of the previous one. And not be opposite. All enemies that are between the initial and final positions of the weapon will receive an "attack notification". And will react to it depending on the direction of the attack and their own behavior algorithm.