What does 'two-way' mean here?

Native speaker’s answer
Rebecca
In the baseball context, there are two main skills: pitching and hitting. Being a two-way player means to have the ability to both pitch and hit. The speaker here is stating that Shohei Otani is the first player with the ability to both pitch and hit, to win the MVP award. Ex: He's a great two way player who's good at both hitting and pitching. Ex: We scouted a great two-way player to fill in the skill gap in our team.