Hello, I read from an Excel file which has a column called “warnSign” that has 0 or 1 values. If it’s 1 I should show a square to the subject. So I put the code below in the BeginRoutine :
if int(warnSign) == 1 : rect = visual.Rect( win=win, units="pix", width=200, height=200, fillColor=[-1,-1,-1] ) rect.draw()
It shows nicely but I want to set tStart and duration for my square. Can you please tell me how can I do that?