Lucas Duda has struggled for consistency this spring, but finally seems at peace with the idea of hitting to the opposite field.

Yesterday that approach led to Duda hitting a two-run homer in the fourth inning that sparked the Mets’ 3-2 victory over the Cardinals at Roger Dean Stadium.

Duda cleared the fence in left-center against Jake Westbrook. It was Duda’s third homer of the spring and most pronounced shot to the opposite field.

“That’s one of the biggest things of spring training that we’ve been trying to get from him, and before that,” manager Terry Collins said. “To get him to understand the great power he’s got to center field and to left-center field, and certainly it’s good to see it.”

Duda homered against Atlanta’s Tim Hudson on Friday, pulling the ball over the right-field fence. He is batting only .237 this spring.