# Mouse Coordinates / Annotations Coordinates

**URL:** <https://pdfjs.community/t/mouse-coordinates-annotations-coordinates/1014>\
**Category:** Technical Support\
**Tags:** pdfjs-express\
**Created:** [September 30, 2021, 2:46pm UTC](https://pdfjs.community/t/mouse-coordinates-annotations-coordinates/1014 "2021-09-30T14:46:21Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![drevel](https://avatars.discourse-cdn.com/v4/letter/d/ee59a6/32.png) [@drevel](https://pdfjs.community/u/drevel)\
**Post date:** [September 30, 2021, 2:46pm UTC](https://pdfjs.community/t/mouse-coordinates-annotations-coordinates/1014/1 "2021-09-30T14:46:21Z")

</div>

Dear Support,

I’m trying to use the mouse Events raised by the WebViewer in order to add some annotations into my document.  
Code below is working excepted that there is a shift between the position of my freeText and the mouse coordinates…  
How could I do to make the position of the annotation match with the position of my mouse cursor when there is a mouseUp Event.

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/1X/0d159d1432c93dcab73ea50915bf02bc229a5f28.png)

Many Thanks in advance for your kind support

---

_[View the full topic](https://pdfjs.community/t/mouse-coordinates-annotations-coordinates/1014)._
