Howdy, Stranger!

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

Supported by

Randomly changing the spatial position and visual items

edited May 2016 in OpenSesame

I am working on a spatial perception project. Part of the task includes display of letters in 'A B C D' format while performing a concurrent timing task. Later I want to test the accuracy of the memory for the displayed items in this format ' * B * * '. What would be the most efficent strategy in the testing session for randomly changing the place of the to be displayed letter and creating the right and wrong options ? (eg. ' * B * * '-> True; ' * G * * ' -> False)

Note: I use variables Letter_1-2-3-4 for the display part.

Thanks in advance,


  • edited 8:50AM

    Hi Cagdas,

    You could create a list variable that contains 4 sets of coordinates (corresponding to the 4 letter positions). Let's call that variable coordinates. Using position = random.choice(coordinates) you'll have the random position at which to display your desired letter.



Sign In or Register to comment.