Like a curveball, a pitcher must keep their wrist loose when throwing a slider.
Throw the ball the same way you'd throw a fastball. A common tip is to imagine cutting through the ball with your middle finger as you throw the pitch. The ball should roll off your hand off your index finger, which is what gives the slider its spin.


