Randomize Onset of Polygon Stimulus

If this template helps then use it. If not then just delete and start from scratch.

OS: Windows 10
PsychoPy version (e.g. 1.84.x): 2023.2.3
Standard Standalone? (y/n) If not then what?: y
What are you trying to achieve?:

I am attempting to have a polygon appear on top of a random image during a task where many images are rapidly flashed sequentially. The polygon should appear 8 times in each trial loop.

What did you try to make it work?:

I have a conditions file where I define the polygon opacity as either 0 or 1. This seemingly worked great until I realized that the polygon was only appearing when the image the 1 opacity was on the same row. For instance, a picture of an eggplant was on the same row where the opacity was set to 1. The polygon now only appears on the photo of the eggplant, while I want the image that it appears over to be random.

I am including screenshots of my builder view and my conditions file.


image

You need Independent Randomisation