How do I use collision detection in my robotstudio software

How do I use collision detection in my robot studio simulator. I doing a research on collision handling. I have followed the online tutorial on robots finding it’s targets but I’ve not got a grasp on collison Avoidance or detection. I want the robot to stop if the is an obstacle in its part.

Okay, the robotstudio mail explains it. I figured it out. Just follow the steps introduce a n object and collision would occur and be detected.

I meant robotstudio help manual