cursorX in simulation mode gives client coordinates
I am trying to build some drag and drop functionality in my prototype, but I have found that the variable cursorX in simulation mode gives the client window coordinates of the simulation window, rather than relative to the screen size of the prototype I am building (like any other coordinates, widths, lengths, etc. in the prototype).
There is an obvious solution which is to make the simulation window smaller so that its client window matches exactly the prototype width, but I cannot rely on my colleagues and clients to be doing that all the time.
Anybody can suggest a better fix? Thanks!