Paper 2D AI flickering

I have a sprite that follows the player, but whenever it moves it flips back and forth quickly.
Any ideas as to how to fix this?
This is using the Paper2D editor.