It has horizontal and vertical motion.
Step-by-step explanation:
A projectile is an object which moves in a parabolic path consisting of two independent motions:
- a horizontal motion, which is a uniform motion with constant speed
- a vertical motion, which is an accelerated motion with constant acceleration
directed towards the ground
In this case, the baseball has exactly this kind of motion, so it can be considered to be a projectile.