The hinged stick is held in place as shown with the ball balanced on the end of the stick. When the stick is released, it accelerates faster than the ball, so the ball falls into the cup.
Note that the initial position of the ball is directly above the final position of the cup!
Click your mouse on the link below to see an mpeg video of the action.