Petting System.

I'm sorry if I post in the wrong section. so I've been trying to find a petting system where you can pet an adorable animal, there's a petting system on this one RPG maker game so I want to see if I can try to make a pet able animal in my game. I want the animal's images to change for animations and expressions on where you pet the animal like a smile when you pat on the head. and also gestures of the hand changes. is there any plugins or scripts that has that?
Example:
1583093713710.png
The easiest and simpliest way is to create invisible events on the animal which makes the animal react while pressing action button on the different parts of him (main character is a hand cursor).

Original thread: https://forums.rpgmakerweb.com/threads/petting-system.118749/