Howdy, Stranger!

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

Supported by

fixing mouse cursor to 0;0

Hi All,

I will re running an experiment which will be collecting mouse-click reposnses. I need for the mouse cursos to relocate at 0;0 at each trial, but how the mouse-click response is set, the mouse cursos is simply in the place where the participant left it.

I have installed the mousetrap extension, and this is fairly straightforward to set up with this feature. But I am a Mac user and I have been having some problems with this feature in the past. However, the experiment will be run online so this is not really the main issue. The issue is that the mousetrap extension is not supported by the web version.

So my question is, how can I set the mouse cursor at 0;0 for every trial for an experiment whose data will be collected online through JATOS?




  • Hi Marta, this is not a JATOS issue actually (remember that JATOS is only the server-side, so it only has to do with how data are sent and stored in the server, and how assets are requested). If you're working on OpenSesame, you should post it in their forum (or maybe the mousetrap forum?), not this one. I'll move your message over there.



  • Hei elisa,

    Sorry, it must have been posted in the JATOS section because I posted here last time. Thank you for moving the message.


  • Hi Marta,

    as you correctly pointed out, mousetrap is unfortunately not available when running online experiments in OpenSesame via OSWeb, so you would have to find a JavaScript based solution for this I think. I moved your question to the OSWeb category, as I have little experience with OSWeb.



  • Hi Pascal,

    Thank you.

    I have now updated it to the latest version, but I am still getting errors locally, so i probably haven't set it up right among other things.

    But if you say that it does not work on OSWeb anyway, I should just try and find a solution elsewhere. This is useful information.


  • Hi Marta,

    I am also happy to look into the installation errors of the mousetrap plugin if you want to share them here (+ it would be great if you could specify your operating system and OpenSesame version when doing so). However, the mousetrap plugin currently is not available for OSWeb.



  • Hi Pascal,

    Sure. Thanks you very much. So, the error message is

    • item-stack: experiment[run].comprehension_loop[run].comprehension_sequence[prepare].new_mousetrap_response[prepare]
    • exception type: KeyError
    • exception message: u'x=-320 y=-160 z_index=0'

    And this happens regardless of how I name my keys.

    • exception message: u'x=-320 y=-160 name="Left"\n'

    My OS is 10.14.6, and the OpenSesame version is 3.2.8.

    I dug a bit deeper into the non-functionality of the mousetrap on the web and I talked to a web developer, and basically why a mousetrap feature could never work on the web is because there is no way that a webpage can take control over the mouse of the computer, and this is why there is no JavaScript that could potentially fix this.

    But I have found a workaround if anyone is interested. What I need is not a mouse4 tracker but simply to have the mouse cursor equally distant from two images. So, I have made a sketchpad at the beginning of each trial on which the participants will have to click in order to procede with the task. I still have no control over the cursor and the participants are free to move it around, but I presume that for the majority of participants the cursor will stay where my "next" button was, and thus equally distant from my two target images.


Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games