basketball gender reveal

beeee • Daisie Annalise born on her due date 12.03.17 at 9:26 21 inches 8lbs 9oz💕
My boyfriend is very very into basketball & my mom wants to throw us a gender reveal party, I want to surprise him and have it set up so when he shoots the ball it reveals the gender, but I can't think of a logical way that this would work.. can anyone give me any advice ? It would be greatly appreciated 😘