Black screen random time presentation

OS (e.g. Win10): Mac OS Big Sur
PsychoPy version (e.g. 1.84.x): 2021.1.4
Standard Standalone? (y/n) If not then what?: Yes

I’m using the builder to develop my experiment. We want to present a drifting grating 25 times (4sec each time) with a black screen presented for a random amount of time (between 1.5 and 3sec) between each grating presentation.

Here is a picture of my builder :


The « Random black screen » should go right after the Grating, before the loop begins.

However, I do not see any components to allow me to add this kind operation in the builder !

How can I achieve that ? (I am a complete beginner to coding)

Thanks !

Hello R_Lus

random durations have been discussed before. You might want to see if you could use this approach?

Best wishes Jens