![]()  | 
	
| 
		 
			 
			#1  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
			
			 
				
				waitDirector
			 
			
			
			Dear users, 
		
		
		
		
		
		
		
		
	
	I'm running a series of experiment in which I have to run several functions in succession as trials. I'm trying to use the waitdirector command to do this at the moment Code: 
	def runtrials(): global currentTime yield viztask.waitMouseDown(viz.MOUSEBUTTON_LEFT) yield viztask.waitMouseDown(viz.MOUSEBUTTON_LEFT) yield viztask.waitMouseDown(viz.MOUSEBUTTON_LEFT) currentTime=viz.tick() wedgemake() movewedge1(); print '1' yield viztask.waitDirector(movewedge1) movewedge2(); print '2' viztask.schedule(runtrials()) I've previously got round the issue by using waittime commands within a loop which selects trials (as I know how long the trials will be). However, I would like to avoid doing this in this experiment. Can anyone off advice on the waitDirector command? Many thanks  | 
		
  | 
	
		
  |