paper2D - Characters who follow you and shoot you in Metal slug style

Hi guys as I’m making a little game, I wanted to know how I could realize an enemy that just sees you shoot and chasing you in the style of metal Slug.