Begin flipbook when in contact - Originally sprite

I’m wanting to have a sprite change into a flipbook when the player comes into close proximity. eg. opening a door to indicate they should go through. Is there a way I can do that, and if so, how?

Thanks in advance!