Howdy, Stranger!

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

Supported by

New User - mouse tracking question

Hi there, I'm totally new to OpenSesame but excited about the possibilities it has for a super short experiment I will be running.


I want to present a video, with/without subtitles, and show distracting elements to either side of the video. I'd like to be able to measure the amount of mouse movement and/or clicks over these distraction elements.


I'm continuing to do research on the platform and watching tutorials, but I wanted to check if anyone here has run a similar type of experiment and if there are existing pieces of code within OS to achieve what I'm looking for!

Thanks in advance for your help :)

Comments

  • edited October 2022

    Hi Lola,

    I move your topic to the proper sub-forum. Then it is more likely that @Pascal will see it

    Good luck!

    Eduard

    Buy Me A Coffee

  • Hi there,

    thanks, Eduard, for moving the question.

    @Lola: Together with colleagues, I developed the mousetrap plugins to facilitate mouse-tracking in OpenSesame. More information on the plugins including example experiments can be found here: https://github.com/pascalkieslich/mousetrap-os. A book chapter that includes a tutorial here: https://doi.org/10.4324/9781315160559-9 (free preprint: https://psyarxiv.com/zuvqa/).

    However, I think that it is not possible to use the mousetrap plugin to record mouse movements while a video is presented in OpenSesame. For presenting videos in OpenSesame, you probably should use the media_player_mpy plugin (https://osdoc.cogsci.nl/3.3/manual/stimuli/video/) and I don't think that the mousetrap_response plugin could run in parallel to it. However, the media_player_mpy plugin allows you to specify custom Python code (see its help documentation), so maybe you can use this feature to record mouse movements during the video. However, this is unrelated to mousetrap so in case you have question concerning this plugin you should probably reach out to the OpenSesame team in the OpenSesame category.

    Best,

    Pascal

Sign In or Register to comment.