You have to click the space again while in the air to attack the enemy, attack it and its health will go down and it will be out of your way in a few attacks :)