When the Nationals play at home or against other National League teams, the ace pitcher also has to bat.
But on Wednesday the team played at the Baltimore Orioles home park, which means American League rules were used, which means a designated hitter bats for the pitcher, giving Scherzer some extra free time.
If you are wondering what he did while he wasn't pitching, he broadcasted it on Twitter.