# Plotly js detect drag on 3d plot

**URL:** <https://community.plotly.com/t/plotly-js-detect-drag-on-3d-plot/62498>\
**Category:** plotly.js\
**Tags:** question\
**Created:** [March 30, 2022, 5:21pm UTC](https://community.plotly.com/t/plotly-js-detect-drag-on-3d-plot/62498 "2022-03-30T17:21:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![np7](https://avatars.discourse-cdn.com/v4/letter/n/46a35a/32.png) [@np7](https://community.plotly.com/u/np7)\
**Post date:** [March 30, 2022, 5:21pm UTC](https://community.plotly.com/t/plotly-js-detect-drag-on-3d-plot/62498/1 "2022-03-30T17:21:42Z")

</div>

Hi,  
I was stuck with the issue mentioned here:

> [@Real time event when dragging or zooming the plot](https://community.plotly.com/t/real-time-event-when-dragging-or-zooming-the-plot/4275):
>
> Hello, I would like to hook data in my webpage to what is displayed on the graph. I am currently using the ‘plotly\_relayout’ event but this event only fires at the end of the dragging action, while I want to do some real time [feedback.Is](http://feedback.Is) there such an event available? The current alternative I am looking at is to hook on event on mousemove and check the changes of the transform attribute of the .plot element, and then translate these values into the data domain. Thanks, Daniel

Just could not find an answer to it as I searched online. Any help would be appreciated.  
Thanks.
