Text box/polygon response - change options between subjects

Here is the basic code (Begin Experiment)

positions = [[-.4,.4],[.4,.4]]
if int(expInfo['participant']) % 2 == 1:
     positions = [[.4,.4],[-.4,.4]]

Then use positions[0] for the position of one option and positions[1] for the other.

This will allocate the positions based on whether the participant number is odd or even.

This will be random. If you want the same number in both groups you need counterbalancing,