After the PC and pet start spinning wildly I don't click/press anything, it just happens by itself. I manage to reproduce it once in the video. After 0:41 can't reproduce despite some targeted attempts.
I *think* the conditions are: stand at least 1 square away from your pet and 1 square above/below it, then click its square.