Any RaycastHit Example By Mouse on GameObject Has BoxCollider2D ?

Unity’s docs has one, here.