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.
|