Closed Kethku closed 5 years ago
This does not take into account the current camera position, and will always output the mouse position in pixel coordinates. Up to you which would be more useful, or even if you want to merge this, I just found it useful when tracking down the getPixel bug.
I do see the value in this - but somehow I feel like it's not the right thing for SCRIPT-8. It's just a feeling though, and I may be wrong (this happens a lot!). Closing for now.
Completely understandable. I made the PR on a take it or leave it basis.
Adds the mouse pixel position to the stats display for debugging purposes.
This is useful for locating exactly where you want a sprite to go on the screen. Instead of fiddling with the values, you can place your mouse where you want it and use the reported values.