This example program is a delayed matching to spatial sample with two distractor shapes. It uses fixation points in the initial phase and between the display of the correct stimuli and the choice phase. To ensure this is not a colour test all the rectangles look identical, and are arranged equidistant from the centre fixation point and from each other.

 

The flow of the trial looks like this:

The codes are as follows: