# Force the robot to avoid an area

**URL:** <https://forum.universal-robots.com/t/force-the-robot-to-avoid-an-area/23626>\
**Category:** General Application Help: How do I?\
**Created:** [September 4, 2022, 2:36pm UTC](https://forum.universal-robots.com/t/force-the-robot-to-avoid-an-area/23626 "2022-09-04T14:36:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrispocock](https://avatars.discourse-cdn.com/v4/letter/c/dc4da7/32.png) [@chrispocock](https://forum.universal-robots.com/u/chrispocock)\
**Post date:** [September 4, 2022, 2:36pm UTC](https://forum.universal-robots.com/t/force-the-robot-to-avoid-an-area/23626/1 "2022-09-04T14:36:57Z")

</div>

Hi,  
If our cobot stops during the cycle and has to be moved back to the home position. How can I stop it from breaking the light curtains that are installed?  
I have tried making Planes but this does’t seem to do what I want.

Thanks,

---

<div class="post-metadata">

**Author:** ![kadams](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/kadams/32/4024_2.png) [@kadams](https://forum.universal-robots.com/u/kadams)\
**Post date:** [September 5, 2022, 5:52am UTC](https://forum.universal-robots.com/t/force-the-robot-to-avoid-an-area/23626/2 "2022-09-05T05:52:53Z")

</div>

Hi @chrispocock

I had faced the same problems.  
What i did is that for every position at my normal cycle I write a Tag (INT).  
With the help of that Tag, i know where my robot is.

Now, If i have to send the robot to its home position (Initialize the robot maybe after crash, or stop by operator), i have created  
different routes for going back tho home position.  
Depending on that “INT” i call different “routes/ waypoints”.

Hope that helps you.

Greetings from Luxembourg.
