enemy can attack the cloest object
enemy can attack the cloest object