Getting key that ended video
in OpenSesame
Hi all,
I'm hoping to have a video end on a keypress, but for the behaviour of the experiment to then differ depending on which key was pressed. Is there a function that can be called in an inline script that returns the last key pressed? I can create my own keypress event, but then that would require two keypresses (one to end the video and the next to determine the subsequent behaviour). I'd like to do it with just one keypress.\
Thanks (and thanks Sebastiaan for the great software).
Mark
This discussion has been closed.
Comments
I'm closing this, because it strikes me as a duplicate of #4943.
Check out SigmundAI.eu for our OpenSesame AI assistant!