I'm pretty sure a venus fly trap doesn't move until it is ready to strike...
So probably just need a few different animations and change the animation when player gets close. Compare X to see which side the player is on.
Or use separate sprites for head and stem (ignore my ignorance of plant terms). Then set angle of head to player so it is always pointing towards the player and follows him.