View Single Post
  #7  
Old 09-26-2018, 04:15 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,453
What version of Windows OS are you running?

When the touch event is triggered it will return an event object with the following:

point: a TouchPoint object which contains time and position data
pos: the pixel position

If you're waiting for the event using viztask, the data object returned will contain the event data. See the example code in the waitEvent page to see how to access that information.

You'll need to know the pixel boundaries of your touch objects and then compare the position data against that.
Reply With Quote