Search1D simulation - possible?

Is it possible in RS to see, if the algorithm with Search1D works properly. I mean, if I move the element, will the robot actually search for the point in the simulation? If yes, how do I make it happen.

You would have to use smart components and create a part_found input when the 2 body’s collide

Of couse, I have finised 3D search in robotstudio successfully.

So if I’ll use the smart components will it change the returned variable from Search1D? If not, do I need to implement some code in Rapid, so it will recognise the changed collision signal and adjust the displacement?

I don’t really know how to operate on smart components, because I just started to learn RS on my own. Is there any way you can guide me through this problem?