(I'm working in Coder view, I have no idea how Builder works.)
This is likely a simple/stupid question, but I cannot for the life of me figure out how to make a key that quits the experiment (aside from adding hundreds of
- one for every single step in the experiment).
I want a key I can press to abort the experiment in case something goes wrong and I need to stop/restart it.
I'm also not entirely sure what function(s) to use to close the program before it's done (it's running a pyglet window called "window"). I haven't had to confront this previously since everything exits nicely at the end of the experiment without any need for explicit instructions.