Howdy, Stranger!

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

Supported by

[solved] Pair stimuli and randomize locations

edited December 2015 in OpenSesame

Hello,

I am having trouble figuring out how to pair stimuli. For instance, I have a set of images with corresponding text labels. I want the images to be randomly selected (which I have in sketchpad), but I not sure how to also "link" the text.

Furthermore, I have a different set of paired text labels that I want to randomize their position. For instance, text 1 is on the left while text 2 is on the right (position 1), while text 2 is on the left and text 1 is on the right (position 2) These labels must also be "linked" to the to corresponding image.

Any help is appreciated.

Comments

  • edited 12:28PM

    In a loop, use variables to designate matching pictures and text (and positions). Embed the sketchpad for text and pictures in the loop. Load the picture and text and position for the current cycle. Cycle through he loop randomly. Like this:

    Is that what you're asking for?

  • edited 12:28PM

    Hi,

    Welcome to the forum.

    I'm not sure whether I understand your question correctly, but I think the following should work:

    Give your trial variables (e.g. 'image', 'text', 'x_image' and 'x_text') the correct values in a block_loop item. So, for example:

    image

    Next, you could use the square-bracket method to show the desired image-text pair in a sketchpad item that you appended to your trial_sequence, by editing the sketchpad script:

    image

    All of this is explained in the step-by-step tutorial, which you can find here:

    Does this answer your question?

    Best,

    Lotje

    Did you like my answer? Feel free to Buy Me A Coffee :)

  • edited 12:28PM

    Oops, I didn't see Jona's response... ;)

    Did you like my answer? Feel free to Buy Me A Coffee :)

  • edited 12:28PM

    Hi!

    I have a similar question.

    I have many stimuli (images), of two different kind, to show. I want them to be paired by a certain meaning, to change position when showed again, but in some trials I need them to be paired by another method.

    Thank you for your help!

Sign In or Register to comment.