BOSTON — White Sox shortstop Tim Anderson suffered an apparent injury to his right ankle in the fifth inning of Tuesday’s game.

Anderson dropped to the ground after the play and had to be helped off the field, favoring his right ankle. He was evaluated by White Sox trainers in the visitors clubhouse, and there was no immediate word on the extent of the injury.

After the Red Sox had gone ahead 5-3 on Xander Bogaerts’ two-run homer off Jose Ruiz, J.D. Martinez hit a grounder that Anderson fielded on the second-base side of the infield. While making the throw his spikes apparently caught on the dirt, and Anderson crumpled to the field in pain.

With Yolmer Sanchez out with the flu, Leury Garcia moved from center field to play shortstop and Ryan Cordell was inserted in center.

Anderson has been one of the Sox’s most valuable players in the first half. He came into the game hitting .313 with 11 home runs and 37 RBIs.

No Derby invite expected: Eloy Jimenez would gladly participate in the Home Run Derby during All-Star festivities in Cleveland next month.

But the Sox rookie isn’t expecting an invitation to the July 8 event and doesn’t believe one is coming.

Blue Jays rookie Vladimir Guerrero Jr. and Indians first baseman/DH Carlos Santana are the only two known participants as of Tuesday night, meaning six more spots are to be announced.

The Brewers’ Christian Yelich, the Dodgers’ Cody Bellinger and Mets rookie Pete Alonso are likely to be asked as the top three home run hitters and Japanese two-way player Shohei Ohtani also wants in.

Guerrero is a good friend of Jimenez, and they are among the most prominent rookie sluggers in the majors, though they’re far behind Alonso.

“I saw the news,” Jimenez said before Tuesday’s game at Fenway Park. “I’m really happy for (Guerrero) and I hope he wins.”

Asked if he also wanted in, Jimenez replied: “The time is going to come. I don’t worry about that now. If they ask me, OK. If they don’t, I’m good with that.”

Jimenez participated in a Home Run Derby in 2017 when he played for the Cubs’ Class A Carolina League team in Myrtle Beach, S.C.

How did he do?

“OK,” he replied.

OK? Jimenez smashed a stadium floodlight with a monstrous home run.

Jimenez has 12 home runs — five more than Guerrero, who has more name recognition. Jimenez is showing more power as the season goes on, with six in his last 22 games, including a 471-foot shot at Kauffman Stadium.

“Same swing,” he said. “It’s just now I have more games (played).”

Some hitters, including Jose Abreu, don’t like being in the Home Run Derby because it affects their swing.