How do i make a texture/mesh rotate away from a player when they get close?

The Idea is that I want to make some lizards that sit on rocks and when the player gets to a certain distance away from them they scurry away.

I thought I could put them on a sphere and have the lizard texture on the top of the sphere and have it rotate away when the player gets close but I don’t really know how to do that?

any help on that or a better way to do what I want would be greatly appreciated!
Thanks

When the player is in range, lerp rotation to the [Look at Rotation] of the lizard to the player plus 180 degrees of Yaw.