When mouse is pressed - end routine

I have the same problem as posted here Mouse Response: Experiment exits on click but I cannot handle the problem. My goal is when participants click on ‘next’ the routine should end.
I don’t know what I am doing wrong…
Thanks for any advice!

Have you tried the new Button component in 2021.1.n? The idea of that is to do what you’re trying to do here but all in one component - so you wouldn’t need to make a mouse component at all, just make a Button component and tick “Force end routine on click”

Hi TParsons
Thank you very much for the tip! It works great!

1 Like