A batter has just taken a swing at a baseball game.