View Single Post
  #2  
Old 11-10-2014, 05:32 AM
Frank Verberne Frank Verberne is offline
Member
 
Join Date: Mar 2008
Location: Netherlands
Posts: 148
To get the coordinate in window pixels or screen pixels, use:
Code:
# 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: http://docs.worldviz.com/vizard/Mouse.htm.
Reply With Quote