# Catch Mouse Over Events on Words

**URL:** https://pdfjs.community/t/catch-mouse-over-events-on-words/1471
**Category:** Technical Support
**Created:** [March 13, 2022, 10:54pm UTC](https://pdfjs.community/t/catch-mouse-over-events-on-words/1471 "2022-03-13T22:54:42Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![alihaydargulec](https://yyz1.discourse-cdn.com/flex031/user_avatar/pdfjs.community/alihaydargulec/32/709_2.png) [@alihaydargulec](https://pdfjs.community/u/alihaydargulec)
#### Post date: [March 13, 2022, 10:54pm UTC](https://pdfjs.community/t/catch-mouse-over-events-on-words/1471/1 "2022-03-13T22:54:42Z")

</div>

**Which product are you using?**

Pdf.Js Express Viewer  
**PDF.js Express Version**

8.2.1  
**Detailed description of issue**  
I want to catch mouseMove events for all words on PDF file itself.  
I am wondering that, while using viewer of [pdf.js.express](http://pdf.js.express/), are there any possibbility of catching events when mouse hovered a word in PDF File?  
If doubleclicking on word can catch event and highlight that word, why not possible to catch hovered word.  
I want to catch hovered word itself.

**Expected behaviour**  
Console.Log ( HoveredWord)

**Does your issue happen with every document, or just one?**  
This is kind of feature i am looking if it is exists or achivable

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/1X/ffbcd25c7d423db8d5acd5db201c272f4db306dd.png) [@system](https://pdfjs.community/u/system)
#### Post date: [March 13, 2022, 10:54pm UTC](https://pdfjs.community/t/catch-mouse-over-events-on-words/1471/3 "2022-03-13T22:54:48Z")

</div>

**Hello, I’m Ron, an automated tech support bot 🤖**

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:
- [Real-time collaboration client](https://pdfjs.express/documentation/collaboration/realtime-collaboration-client.8)
- [Open a document from file system](https://pdfjs.express/documentation/basic-operations/open-document/filesystem)
- [APIs for customizing UI](https://pdfjs.express/documentation/ui-customization/api.8)

APIs:
- [Core.DocumentViewer - mouseMove](https://pdfjs.express/api/Core.DocumentViewer.html#event:mouseMove__anchor)
- [Core - getPDFAsmPath()](https://pdfjs.express/api/Core.html#.getPDFAsmPath__anchor)
- [CoreControls.AnnotationManager - getAnnotationsByMouseEvent(event)](https://pdfjs.express/api/7.0/CoreControls.AnnotationManager.html#getAnnotationsByMouseEvent__anchor)

Forums:
- [Word Mouse Over Event Catch](https://pdfjs.community/t/word-mouse-over-event-catch/1467/1)
- [Cannot lock pdf](https://pdfjs.community/t/cannot-lock-pdf/740/1)
- [Bug on file upload in pdf js viewer](https://pdfjs.community/t/bug-on-file-upload-in-pdf-js-viewer/819/1)

---

<div class="post-metadata">

### Author: ![dnavarro](https://yyz1.discourse-cdn.com/flex031/user_avatar/pdfjs.community/dnavarro/32/707_2.png) [@dnavarro](https://pdfjs.community/u/dnavarro)
#### Post date: [March 15, 2022, 4:44pm UTC](https://pdfjs.community/t/catch-mouse-over-events-on-words/1471/4 "2022-03-15T16:44:55Z")

</div>

Hey there,

Right now, PDF.js Express does not support catching a word hover. However, I will add it to our backlog and we can investigate implementing it when we have time.

Thanks!

Dandara
