Select objects while selecting points

Hello everyone!
In the GetPoint() command, when the mouse is pressed, can I get the clicked object besides getting the point? It is as if GetPoint() and GetObject() are executed at the same time.
I want to draw a polyline on multiple surfaces in disorder.
Or, I want to get the point on the object clicked by the mouse without constraining to the specified object.
C++ or C#
Can you give some hints?
Thank you!

Hi @Easy,

The Rhino SDK does not have a class or function that will select objects and pick point locations at the same time.

Thanks,

– Dale

Hi @dale
OK.
I choose other methods to achieve.
Monitor mouse click events when selecting objects.
Thank you!
-Easy