# Click based on Cursor Position

**URL:** <https://forum.uipath.com/t/click-based-on-cursor-position/154482>\
**Category:** Help\
**Tags:** uiautomation, activities\
**Created:** [September 26, 2019, 1:57pm UTC](https://forum.uipath.com/t/click-based-on-cursor-position/154482 "2019-09-26T13:57:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anurag\_Singh1](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/anurag_singh1/32/96708_2.png) [@Anurag\_Singh1](https://forum.uipath.com/u/Anurag_Singh1)\
**Post date:** [September 26, 2019, 1:57pm UTC](https://forum.uipath.com/t/click-based-on-cursor-position/154482/1 "2019-09-26T13:57:31Z")

</div>

I need to automate lot of clicks based on cursor position relative to a reference text. Is there any other way to identify the X and Y offset apart from manual recording? may be outside UiPath?

---

<div class="post-metadata">

**Author:** ![loginerror](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/loginerror/32/22614_2.png) [@loginerror](https://forum.uipath.com/u/loginerror)\
**Post date:** [September 26, 2019, 2:22pm UTC](https://forum.uipath.com/t/click-based-on-cursor-position/154482/2 "2019-09-26T14:22:59Z")

</div>

Hi @Anurag_Singh1

Welcome to our UiPath Forum! 🙂

There are properties of the Click activity that you can use, see here:

 ![image](https://global.discourse-cdn.com/uipath/original/3X/b/7/b7f1441950cbed6356712ba85cc98636ed7b6e9c.png)

---

<div class="post-metadata">

**Author:** ![Anurag\_Singh1](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/anurag_singh1/32/96708_2.png) [@Anurag\_Singh1](https://forum.uipath.com/u/Anurag_Singh1)\
**Post date:** [September 26, 2019, 2:24pm UTC](https://forum.uipath.com/t/click-based-on-cursor-position/154482/3 "2019-09-26T14:24:24Z")

</div>

Hey thanks for responding. I am aware of these properties. the problem is that for each new click, I need to identify these values manually using the recording.
