I hope these are my last questions. I greatly appreciate the help I have received so far!
I am almost done with my project and ready to pilot it. But, I’m running into 2 problems.
First, I need to provide feedback off of a mouse click. The problem is that the mouse can click on many things. The routine ends only when it clicks on a button I created (rectangle with text that says DONE). But, prior to that, there will be a lot of clicks from the mouse. I need the feedback to be of the amount of time spent from the beginning to the end of the routine. In other words from the time the routine starts until the mouse clicks the Done button (ignoring all the previous click time stamps). Here is my mouse screen from builder:
I have tried every version of:
“Well done!\nIt took you %.2f seconds” %(mouse_prac.rt)
I could think of. I even tried:
“Well done!\nIt took you %.2f seconds” %(mouse_prac.isPressedin(Done_prac).rt)
I keep getting errors. Most of the time it is an Attribute error, but in some versions I got an Index error.
What am I missing?
Also, my program is skipping my first loop. Here is my flow:
For some reason, it is going straight from the PuzzlePracticeInst to TargetTime. It is skipping the practice loop (trials_prac) altogether. But, I’m not getting any error. I’m baffled by this one! Here is the screen for that:
Thanks!