make background unclickable
Hi,
I am making a multiple choice task in which I want my participants to answer with touch screen during the presentation of a sketchpad item. How can I achieve that the experiment does not go on if my participants press anywhere (like on the background?) I would want the experiment to proceed with the next trial only when they press on a choice which is represented with an image on the sketchpad.
Thank you 🙏
Comments
One option that should work would be to define areas of your stimuli and check after every response whether the coordinates of that response lie within the bounds of that (or any) stimulus. Then you can either repeat the trial or continue depending whether the response was valid or not. Unfortunately, I am not yet able to properly program with javascript, so I can't help you with it, but if it is helpful, I can write a python based example script from you. Maybe you will manage to translate it to javascript with the help of google?
Eduard