Hi,
You can get all 2D shapes under the mouse cursor using the following piece of code:
NPointF location = view.GetMousePositionInDevice();
NHitTestContext hitTestContext = view.ProvideDocumentHitTestContext();
NNodeList nodes = document.HitTest(location, -1, NFilters.Shape2D, hitTestContext);
To select one of the shapes use:
view.Selection.SingleSelect(nodes[index]);