Basketball blocking

I want to make blocking for my game, so on a shot if the ball gets hit by a player than it will go flying. I know how I would do that, but I’m afraid it will interfere with my basketball pick up system. Basically whenever someone touches the ball, it will give it to them if it does not have a current owner. How could I do blocking instead, or would I have to change my basketball pick up system?