I have a callback function in my plugin that return the mouse coordinate everytime when the mouse move.
How do i create a callback function to return the coordinate value from my plugin back to javascript, so that everytime when i get a update from my function it will trigger an update of the value in javascript. Everything is writen in C++.
