This macro will help you to automatically connect pets in pet simulator x. Tested at a resolution of 1280x724
Download the program (Download) and go to the macro editor
press the button «Open file»
and select the downloaded file
assign a macro to a key and run the program