View Single Post
Old 11-10-2014, 06:32 AM
Frank Verberne Frank Verberne is offline
Join Date: Mar 2008
Location: Netherlands
Posts: 148
To get the coordinate in window pixels or screen pixels, use:
# Get mouse position in pixel coordinates
x,y = viz.mouse.getPosition(viz.WINDOW_PIXELS)
# Get mouse position in screen coordinates
x,y = viz.mouse.getPosition(viz.SCREEN_PIXELS)
More info:
Reply With Quote