Howdy, Stranger!

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

Supported by

Three sketchpads to show different stimuli, depending on the reaction


I'm trying to build an experiment which causes some issues for me.

There are six positions and in every trial you see two stimuli at two of those six positions. One stimulus is a number, the other one is a symbol and you should react with certain keys on the keybaord to those stimuli. If you press the key for the number, it should disappear and only the symbol should be left on the sketchpad. If you react on the symbol, the number should be left on the screen.

My first idea was to create three sketchpads. The first one shows both stimuli. The other two sketchpads show either the number or the symbol, depending on the reaction. But what should be the condition for the second and third sketchpad? If I choose "show if [correct]=1" it won't work, because both reactions (number and symbol) would be correct.

To see if this idea with three sketchpads could work at all, I set the reaction on the number as "correct" and everything else as "wrong". The first trial shows the first sketchpad with both, the number and the symbol. When I react on the number, the sketchpad, which shows the symbol only, appears. So everything's fine so far. But then I react on this symbol and when the second trial starts, the first sketchpad will be skipped and the second sketchpad will be shown immediately with only the number.

Is it even possible to do this with multiple sketchpads or is an inline script necessary for this experiment?

I hope the problem is clear, but if further explanation is needed, I'll give some more details about the experiment.



  • Hi Rex,

    I believe you only need two sketchpads. You can define the condition directly in the lets call it letter that you insert. So in the second you put again the number and the letter, but now you define the conditions.

    I do not know how the variables in your loop are called. However, your definition within the sketchpad may be based on that. For instance, you may have a variable called 'keyboard' that contains the 'x' for letters and the 'y' for numbers. Hence your if condition [keyboard]==[response].

    Hope this helps you out,


    PS: For every discussion i open myself, i try to answer another. Now its up to you to answer my question ;)

  • Hi Stephan,

    thanks for your help. I'll try this out later today and tomorrow and I'll tell you if it worked.

    PS: I try to help, but I still have to learn a lot of stuff, so at this time there are not so many problems that I could solve. :-/ But if I see a post where I can help, I'll do it. :)

  • So, I tried this and the goods news is, that your idea of using two sketchpads does work. :)

    So first of all thanks a lot for your help.

    But I have problems with defining two different "correct" responses, one for the number and one for the symbol. To test this "Two Sketchpad"-method, I used the "correct_response" variable for the position of the number. So every time I pressed the key of the symbol position, OpenSesame logged it as a "wrong" response. The keys are assigned two the six positions. For example key "a" is assigned to the first position, "s" for the second and so on. So with every trial, there is a different correct response for the number and the symbol.

    I am going to define two different resonse variables in the loop-table. Can I just write an if-statement in the second sketchpad that says "if the key equals the one for the number in the loop-table for this trial, just show the symbol and the other way around"?

    Or is it more complicated to define two different "correct_response"-variables?


  • Hi @Rex86,

    you're on the right track. You can either use the run-if fields of the sketchpad in the sequence item om which they are placed to determine which sketchpad needs to be shown, depending on the value of the correct_response. You can also make elements on the sketchpad conditional, that is only show them if a certain condition is true, by adding this condition in the `show if` field that appears after you select the sketchpad element.

    I don't understand why your define correct_response is being picked up as wrong though. Did you use the correct_response name exactly like that for the column in the loop that defines the responses? If so, your keyboard_response item should automatically pick it up.

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