Enemy help

I want to make a enemy that moves around but also follows you when it sees you and throws projectiles to you. is that possible can i ask for assistants?

http://flowlab.io/game/view/1278056