# requestTooltip() mouse location from script

**URL:** <https://forum.inductiveautomation.com/t/requesttooltip-mouse-location-from-script/56100>\
**Category:** Module Development\
**Tags:** perspective\
**Created:** [February 14, 2022, 12:35pm UTC](https://forum.inductiveautomation.com/t/requesttooltip-mouse-location-from-script/56100 "2022-02-14T12:35:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [February 14, 2022, 12:35pm UTC](https://forum.inductiveautomation.com/t/requesttooltip-mouse-location-from-script/56100/1 "2022-02-14T12:35:54Z")

</div>

Hey hey,

I have a component that exists of rows and columns. I would like to use componets tooltip text.  
My component triggers an custom event (“hover”). In this event i program a tooltip text and trigger the requestTooltip()

It works however the position is not correct. I have position set to mouse, yet it opens in the center.

Do i need to pass down some mouse event coordinates? does it accept arguments?  
I ofcource could create my own tooltip but i hoped to use the tooltip already provided xd

If this is currently not possible maybe it might be a nice feature request? To create a requesttooltip event with some coordinates (and maybe even text) as params?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/3/934402d4253b4968ddadc9ec48d82c617739acbf.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/4/247206af4c9bd864f2de51e7fe15a2a450b75a11.png)
