If you stay still, the sword will attack the enemy. But you can use your fingers to attack the desired enemy!