Howdy, Stranger!

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

Supported by

Random placement of textline elements

Hello all,

My experiment is a working memory task combined with a flanker task. On each trial, participants see a string of digits (3, 5, or 7 digits long). They then respond to a flanker presentation. Following the flanker, I want to have a screen that presents 4 multiple choice options. One of the options is the digit string they saw on the first screen. The other 3 are random digits strings of the same length. The problem I having is for the multiple choice screen, how do I have the correct option appear in random locations so the correct answer is not always in the same position? I would need to do this and still be able to define the correct response. I am very new to opensesame and python programming. Any suggestions on how I can accomplish this? Thank you so much in advance for your help.

Comments

  • Hi @jfeiger,

    The simplest method, assuming you have the four options in distinct columns in the loop, is to implement the shuffle_horriz function, as illustrated in this example:

    Show multiple images at the same time at random positions

    Christian

    Mar 23, 2020

    Provided that you only shuffle the columns with the four options and do not include that containing the correct response, it should work just fine. If you were using one of the four option columns as the correct response, my recommendation would be to create a separate column for the correct response.

    Hope this helps.

    Fabrice.

    Buy Me A Coffee

Sign In or Register to comment.