Howdy, Stranger!

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

Supported by

Mouse clicking response on an image


I am trying to implement corsi block tapping test on opensesame now.

So far I have been successful in conceptualizing the task in terms of opensesame. But the only issue that lies here is the response. Following are the hurdles:

  1. The task requires the clicking the boxes in the same sequence as they were lit. I'm not pretty sure if there's a special form that would help me record the responses in this fashion. Is it??

  2. Coding the response as correct/incorrect is the next issue. In this: on author does describes a way to do this but I can't seem to understand this until I figure out a way to record the response at the first place i.e., problem 1

I would be grateful if someone could guide me in this



  • Hi Vatsal,

    have you checked out the mousetrap plugin?

    I think this might answer both your questions.


    Buy Me A Coffee

  • Hey Edward

    Thanks I've not yet looked into it. I'll give it a shot


  • Hey!
    (cc @Pascal )

    I have read the documentation for the mousetrap plugin. But I am not too sure whether what mouse tracking option to use i.e, " mousetrap_response item" or " mousetrap_form item." As this was suggested that mousetrap_response item only allows four button clicks however, in my case participants have to make more than four clicking response. Mousetrap_form item presents and collect mouse tracking data however, again I am not sure whether this is applicable in my case or not? This is because I am not sure whether mouse_trap form allows presenting stimulus like a sketchpad and after few presentations collects responses.

    Description of the task: A set of nine boxes are presented on the screen followed by flashing of a set of boxes in random order after which the subject has to click on the boxes in the same order in which they were flashed. This particular task is a standard implementation of corsi block tapping test.

    I would be grateful if you could help me out


  • Hi Vatsal,

    I am currently traveling (until Sunday) so just a very short answer now (happy to anwer in detail later).

    If you want to design you stimulus display via a sketchpad/canvas, you can combine the sketchpad/canvas with a mousetrap_response item to track mouse movements and button clicks. The mousetrap_response item itself supports only up to 4 buttons, but the underlying Python class (MT_response) supports any number of items.

    If you want to design your stimulus using OpenSesame script in forms, you can use the mousetrap_form item to both define the stimulus display and to track mouse movements and clicks. If you don't care about the mouse movements, you could also use OpenSesame's own form_base item instead. All of the form based options support any number of items.

    Thanks to the new release of OpenSesame 3.2, things will get easier in mousetrap as well. I haven't finished the mousetrap update yet but expect to do so until next week.

    Regarding the procedure you mentioned ("subject has to click on the boxes in the same order in which they were flashed"): this probably means that you have to use a loop item which calls a sequence of either sketchpad/canvas+mousetrap_response OR a form_base/mousetrap_form to sequentially collect all the clicks of the participant. This is necessary as by default all these items only collect a single button click. The exception would be if you set up the MT_response class in Python code: here you could implement the loop directly in Python.

    Hope this already helps somewhat. Happy to answer more questions once I am back in the office next week.



  • Hey! Thank you for clearing out few stuffs. I have a couple of clarifications:

    Q1: if I use the mousetrap_reaponse + canvas as a way to present mouse response it would be difficult to collect more than 4 mouse response. However, I could use the mt_response class which allows more than four
    Mouse clicks right?

    Q2: Alternatively, I could use mousetrap_form or opensesame form to display and collect responses?

    This might sound a bit premature but I am worried that even if I manage to collect multiple responses is there a way to code these responses correct/incorrect. Becoz the responses have to be made in correct order i.e
    , they should be made in the same sequence as the boxes were flashed


  • Hi Vatsal,

    I updated both mousetrap items so they should now be fully compatible with OpenSesame 3.2.

    Regarding Q1: yes, the MT_response class supports any number of buttons.

    Regarding Q2: Yes, OpenSesame's form_base item can be used to both create the display and collect responses. The mousetrap_form does the same but additionally allows to track mouse movements.

    Regarding coding correct responses: this should also be possible. The MT_response class and the mousetrap_form allow you to specify a variable name that contains the correct response - and will then automatically code the correctness of the response. For the form_base item, you would have to write a few lines of Python code (which should be simple). The main challenge is (as you mentioned) to take into account the order. If you use a loop item to collect the sequence of responses, the you could include a Python script that defines what constitutes the correct response at the beginning of the sequence. Where that information comes from will depend on how you define the sequence of flashes in the first place.



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