Weeping angels

So pretty much I’m making a horror game with 5 levels. In the first level there will be two hallways, one to your left, one to your right. What I want is a character model to walk down that hallway but then stop and play an idle animation when the player is looking at it. How would I do this? Keep in mind that I’m fairly new to ue4. Thanks!