View Single Post
Old 08-18-2014, 02:58 PM
Jeff Jeff is offline
WorldViz Team Member
Join Date: Aug 2008
Posts: 2,467
The viztask.waitMouseDown command has been updated and no longer expects the viz.Data object to be passed as an argument. Use the following instead:

def example_trial():
	startTime = viz.tick()
	response = yield viztask.waitMouseDown( None )
	print 'response at: ', viz.tick() 
	reactionTime = response.time - startTime
	print reactionTime
Reply With Quote