# How do I handle an event when a particular point ( x and y co-ordinates ) on the page is tapped?

**URL:** <https://forum.ionicframework.com/t/how-do-i-handle-an-event-when-a-particular-point-x-and-y-co-ordinates-on-the-page-is-tapped/102365>\
**Category:** ionic-v3\
**Created:** [August 17, 2017, 6:52pm UTC](https://forum.ionicframework.com/t/how-do-i-handle-an-event-when-a-particular-point-x-and-y-co-ordinates-on-the-page-is-tapped/102365 "2017-08-17T18:52:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sidharth\_1999](https://avatars.discourse-cdn.com/v4/letter/s/d78d45/32.png) [@Sidharth\_1999](https://forum.ionicframework.com/u/Sidharth_1999)\
**Post date:** [August 17, 2017, 6:52pm UTC](https://forum.ionicframework.com/t/how-do-i-handle-an-event-when-a-particular-point-x-and-y-co-ordinates-on-the-page-is-tapped/102365/1 "2017-08-17T18:52:48Z")

</div>

I want to run some code when a user clicks on a particular point on the page, such as a point with co-ordinates (5,18) or something. How can I achieve this in ionic ?

---

<div class="post-metadata">

**Author:** ![KishuPro](https://avatars.discourse-cdn.com/v4/letter/k/b4bc9f/32.png) [@KishuPro](https://forum.ionicframework.com/u/KishuPro)\
**Post date:** [August 20, 2017, 7:00am UTC](https://forum.ionicframework.com/t/how-do-i-handle-an-event-when-a-particular-point-x-and-y-co-ordinates-on-the-page-is-tapped/102365/2 "2017-08-20T07:00:39Z")

</div>

I don’t know why you need this, but for a start you can try handling the `click/tap` events of the `ion-content` of the page and pass the `$event` object to the handler and you’ll have what you want.

---

<div class="post-metadata">

**Author:** ![Sidharth\_1999](https://avatars.discourse-cdn.com/v4/letter/s/d78d45/32.png) [@Sidharth\_1999](https://forum.ionicframework.com/u/Sidharth_1999)\
**Post date:** [August 21, 2017, 8:14pm UTC](https://forum.ionicframework.com/t/how-do-i-handle-an-event-when-a-particular-point-x-and-y-co-ordinates-on-the-page-is-tapped/102365/3 "2017-08-21T20:14:09Z")

</div>

Yup, thats exactly what I did. Thanks!
