https://youtu.be/p8i13hl-RSg
A goaltending violation occurs when all three criteria are met:
- A player touches the ball during a try for goal.
- The ball is on its downward flight.
- The ball is entirely above the rim level and has a chance to go in.

If all criteria are met, the score is awarded (or disallowed) according to the rules.