Players from both teams popped onto the top step of the dugout to watch it and from here until the end of time baseball fans sitting through rain delays will be watching it on the scoreboard.

Robin Ventura put an upbeat finish onto a dreary night, after the Mets and Yankees played two-and-half innings for naught in a game postponed, with a flawless impersonation of teammate Mike Piazza.

Ventura put on a Piazza jersey, made a mustache out of eye-black, stood in front of the dugout to let the cheers mount, dragged his bat on the ground, in perfect Piazza fashion, walked slowly to the plate, held his right hand back to call time, imitated Piazza’s swing, ran exactly as Piazza does, arms pumping, and slid head-first into second base on the wet tarp.

He then dusted himself off, just as Piazza does, took a Piazza lead, then got the arms pumping again on his way toward another head-first slide into home plate.

“Sheer boredom,” Ventura said. “Just a long rain delay on a long weekend. You sit in here and drive yourself crazy, as you can tell.”

Ventura said the Mets’ trainers and veteran reliever John Franco talked him into it and Piazza was “all right with it.”

“I’ve been studying him for the last year-and-a-half,” Ventura said. “Luis Lopez was the first one to do it [impersonate Piazza]. I kind of watched him.”

Asked if he thought he fooled anyone in the stands, Ventura, who normally bats left-handed, said, “No, I doubt it. Maybe someone in the upper deck.”

Definitely fooled someone in the WABC broadcast booth. While Ventura was entertaining the crowd, Yankees broadcaster Michael Kay was blasting Piazza by wondering how a $91 million player could risk injury. Ventura, a $32 million ballplayer, had the blessing of the Mets’ training staff and management.

“It was a great way to end a long rainout,” Mets GM Steve Phillips said.