Model originally uploaded to Thingiverse at https://www.thingiverse.com/thing:4135551.
Made for the (Medal Sports) MD Sports Pro Court, which comes in several different cosmetic variants, but most of them look something like this: https://www.medalsports.com/product/pro-court-basketball-game/
The original pins that kept the ball return folded in the upright position got lost on my set after "somebody's kids" ripped them free of the chains on the frame. Additionally, the sheet metal eventually started to bend after similar abuse. Regardless, I wanted something a bit more convenient to use than bending down and aligning two pins on the hinge.
This clip attaches to the tubing that holds the control panel, and swings down to meet and clip onto the basketball hoop when folded in the upright position. I printed with 2 walls/shells and two top/bottom layers with 20% infill in PETG, which seemed to provide sufficient durability, but YMMV. Increasing the wall count will likely increase clip rigidity if you want a more secure fit.
This thing was made with Tinkercad. Edit it online https://www.tinkercad.com/things/9Xaxe9r1PKA