Resources needed: Dynamic Image Presentation (Tracking, Storing & Randomizing)

Okay. I have solved the alternating presentation location:

In my inner lope, I had two columns with baseLoc (the baseline option) and altLoc (the alternative option). In those columns, I alternate left and right.

Then, in the routine before, I added a code snippet. Tip: make sure this routine is inside the loop with your excel sheet.

if baseLoc == ‘right’:
base_effl_loc = [-0.5,0]
base_rewl_loc = [-0.2, 0]

elif baseLoc == ‘left’:
base_effl_loc = [0.5,0]
base_rewl_loc = [0.2, 0]

if altLoc == ‘right’:
alt_effl_loc = [-0.5,0]
alt_rewl_loc = [-0.2, 0]

elif altLoc == ‘left’:
alt_effl_loc = [0.5,0]
alt_rewl_loc = [0.2, 0]

Then, in the image component for my 4 images, I put in the name in location part. So $base_effl_loc for baseline effort image etc.

It works like a charm! Now onto my next problem :sweat_smile: