+xSample a value from the list ontrialbegin and store it in a <values> entry.
How should I sample at random from the list? I Have added as per your advice the following:
<list flashing>
/ items = (1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0)
/ replace = false
</list>
<values>
/ flashing = 0
</values>
<trial init>
/ ontrialbegin = [
...
values.flashing = list.flashing.?
...
]
Also, what do you mean by inserting the shapes? Changing the color from white to red?