Howdy, Stranger!

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

Supported by

Several correct touch responses

Hi!

I was wondering if there is any way to set multiple responses as correct. Specifically, if you are doing a visual search, I would like to have several correct targets on the screen. Is there any way for me to define several correct answers in a loop?

On a similar note, is there any way for me to define the set of allowable responses on a touch response? What I mean is, let's say there are 4 possible quadrants on the screen, is there any way for me to tell OpenSesame to ignore responses to quadrants 1 and 2 but respond to/register 3 and 4?

Thank you!

Comments

  • edited January 2017

    Hi Candice,

    Regarding your first question:
    How exactly should the procedure look like, if there are multiple correct responses? That is, does the participant only give one answer and this is classified as correct if he / she clicked on say option 2 or 3 and as false if he / she clicked on option 1 or 4? This could be done with a few lines of Python code. And you could define the correct categories for each trial in a loop.

    Regarding your second question: I see two options here:

    1) Sticking with the touch response item:
    I don't think that you can define quadrants that should be ignored. However, you could nest your touch response item in another loop and specify a break if condition that only stops if the click occured on an allowed option.

    2) You could try out the mousetrap response item:
    The mousetrap response item is actually meant to continously track mouse movements. However, it can also be used for the simple purpose of defining regions on a screen that represent buttons. This could for example be used to define the two quadrants you mentioned as two buttons. If you would like to use the mousetrap_response item you need to install the mousetrap plugin.

    Best,

    Pascal

  • Hi Pascal,

    Yes, the participant would only give one response. If that response was in the list of correct responses, then it would be considered correct. I'm not a good python coder (or in general). I've tried a couple of times but was not able to define a variable for "correct response" to look in. :( I tried to find an example code for this to modify, but I wasn't able to.

    I think the first option might work better. Would I define the break if in the box or would I have to modify the script?

    Thank you so much!
    Also, sorry for my coding ignorance... :(

  • Hi Candice,

    no worries, I think that this is one of the great things about OpenSesame that you can start using it without programming experience.

    Before discussing the specific implementation: I assume that the participant has to answers several tasks / trials. Is that so? If so, I would have the following questions (which determine how easy the implementation is):

    Regarding the correct responses: does the number of correct responses stay constant across tasks or does it vary?

    Regarding the allowed quadrants: does the number and location of the allowed quadrants stay constant for all tasks?

    Best,
    Pascal

  • Hi Pascal,

    The number stays the same, but there is a different set of correct answers for each trial.

    Yes, the allowed quadrants stays constant.

    Basically the idea is:
    N N N N N N N N
    N Y1 Y1 N N Y2 Y2 N
    N Y1 Y1 N N Y2 Y2 N
    N N N N N N N N
    N N N N N N N N
    N Y3 Y3 N N Y4 Y4 N
    N Y3 Y3 N N Y4 Y4 N
    N N N N N N N N

    The N quadrants are never valid responses, the Y quadrants are valid responses grouped by number. So, all of the Y1s are correct responses to trial 1, all the Y2s are correct responses to trial 2 and so on.

    Does this make sense?

  • edited January 2017

    When I sent it it wrecked the formatting, maybe this is easier to see:

    N N N N N N N N
    N 1 1 N N 2 2 N
    N 1 1 N N 2 2 N
    N N N N N N N N
    N N N N N N N N
    N 3 3 N N 4 4 N
    N 3 3 N N 4 4 N
    N N N N N N N N

  • edited January 2017

    Hi Candice,

    to clarify: does what you are sketching represent the grid that should be displayed in each trial?

    N N N N N N N N
    N 1 1 N N 2 2 N
    N 1 1 N N 2 2 N
    N N N N N N N N
    N N N N N N N N
    N 3 3 N N 4 4 N
    N 3 3 N N 4 4 N
    N N N N N N N N
    

    i.e., does it mean that in each trial an 8 x 8 grid should be presented?

  • Hi Pascal,

    Yup, exactly!

  • edited January 2017

    Hi Candice,

    in other words, this means that you would like to have a task with four buttons that are separated by spaces from each other. And, in each trial, one of the four buttons represents the correct answer.

    If this is true, I think that you should not use the touch response item at all but instead use one of the following options.

    1) Create a custom form with four buttons using the form base item. More information on forms in OpenSesame can be found here.

    2) In a similar vein, you can also use a mousetrap_form which represents a simplified version of the form base item that also allows you to specify a button containing the correct answer. More information on the mousetrap_form can be found here.

    2) If you would like to use a sketchpad to design your screen, you can use a mousetrap_response item to define the four button areas. Here you can also directly specify a correct button for each trial. More information on the mousetrap_form can be found here.

Sign In or Register to comment.