Rhino pick button Human UI

Hello,
I tried to create a Rhino pick button via Human UI but I don’t understand how is it possible to transfer the object selected informations in Rhino (for e.g. geometry selection) to gh definition.
Thank you