Ball balance is the key to a two finger release toward the basket. When a shooter is still and the ball is balanced, the shooter can shoot the ball off of two fingers toward the basket. If the ball is slipping to the left or to the right because of gravity, then the shooter will have a much more difficult time releasing the ball straight. Let's take a look at ball balance.
In the photograph below, can you see how balanced the basketball is in the shooters hand? His body is falling away but his hand is as balanced as a waitress delivering a full tray of food. From this position, the shooter can release the ball with two fingers toward the basket.
The process of maintaining ball balance requires that a shooter keep their THUMB and PINKIE FINGERS equal to each other as they elevate the ball.
For most shooters, the mental thought is "KEEP MY THUMB UP!"
All the way to the top...
In the photographs below, you will notice that when the THUMB drops, the shooter loses ball balance as gravity begins to pull the ball down and off line.
With youth players, ball balance is the most difficult aspect of shooting a basketball simply because their hand is so much smaller than an adult's let alone a professional basketball player. There is very little margin for error with youth players. Notice the size of the basketball in relation to their hands.
Remember, whatever the situation you find your self in, balance the ball so that you can shoot it straight!