Mouse and top object

Hi.



I’m new on jMonkey and so il read tutorial  :D. I found exemple for mouse pick but it don’t make exacly what I want to do. This method finds all object under the mouse.  :’(

How can’I found only the top object I clik on? I don’t find how to do this  :?





BokC

Use the distances to each picked object to find the closest one, or have them sorted by distance and grab the first one.