# event.clientX/Y doesn't calculate the dock views offset

**URL:** <https://forum.inductiveautomation.com/t/event-clientx-y-doesnt-calculate-the-dock-views-offset/49700>\
**Category:** Ignition Early Access\
**Created:** [August 9, 2021, 2:17pm UTC](https://forum.inductiveautomation.com/t/event-clientx-y-doesnt-calculate-the-dock-views-offset/49700 "2021-08-09T14:17:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [August 9, 2021, 2:17pm UTC](https://forum.inductiveautomation.com/t/event-clientx-y-doesnt-calculate-the-dock-views-offset/49700/1 "2021-08-09T14:17:35Z")

</div>

Hi,  
The return value of the event.clientX/Y doesn’t calculate the offset which is caused by dock views.  
For example, clicking the top left corner of the primary view, doesn’t return 0,0 and instead returns dockLeft width and dockTop.height
