The crudest, but simple way, is attach an invisible circle active(100 X 100?) to your character. When it overlaps an enemy, move the character towards the enemy and change the animation to shoot.
Marv
_________________________
A decision making process is binary.