I’m trying to change the colour of a stimuli (a moving rectangle - that changes position according to a disturbance). I’m unable to change the colour as I would if it wasn’t moving.
The code for the stimuli is:
refship = visual.Rect(win,
width=40, height=60, units=‘pix’
The code for the movement is:
#calculating disturbcance for reference ship
refship.pos = (dist * 2.0, 0)
When (and what) do I need to write to change the colour.
Apologies for the lack of correct nomenclature!