Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

how to make mouse response on screen visible

hi everyone,


we've browsed the forum and looked through the documentation but did not find a solution to our specific problem to show the position of a mouse click when recording it:

In a rating task, participants are asked to select a coordinate based on how far they go on the x- and y-axis with the mouse cursor. Having some experience with OS, we set this up successfully (yeah!). I attached the experiment draft as is:

Now because there is no image that the mouse response could select, and because the task is a bit weird without seeing where they clicked, we want the "spot" that was clicked on the spreadsheet to become and remain visible on screen until they proceed to the next item. It could be an X or dot or the coordinate pixel/square being colored, just any visible instant feedback to participants on where exactly they clicked.

Is there a code snippet similar to my_mouse.set_visible(True) but for the respective mouse response on screen?

We gave each coordinate a name to later identify the area, if that helps to select and colour it for their response.

Hope someone here knows how to do the trick!

Best,

Christin

Comments

  • Hi Christin,

    A possible solution is interjecting a feedback item between mouse and keyboard response in which you present the same sketchpad again, but then add another visual object (in my example a green square) at the coordinates returned by the mouse response item.

    By the way, the experiment is quite slow, most likely because you draw a huuuge amount of little squares to mimic the coordinate frame. I'd recommend preparing an image of that coordinate frame offline, and then just load that image into the sketchpad. That will most likely be much more efficient.

    Best, Eduard

    Buy Me A Coffee

Sign In or Register to comment.