The term "batted" can have different meanings depending on the context:
In the sport of baseball, "batted" refers to the act of hitting the ball with a baseball bat.
In cricket, "batted" refers to the action of a batsman trying to hit the ball with a cricket bat.
In general usage, "batted" can refer to any action that resembles the swinging motion of a baseball or cricket bat, such as a person swatting at a fly with a rolled-up newspaper or hitting a piñata with a stick.
"Batted" can also be used figuratively to describe a person's performance or response to a situation. For example, someone who responds quickly and effectively to a difficult question can be said to have "batted it out of the park."