OS (e.g. Win10): Win 10
PsychoPy version (e.g. 1.84.x): v3.0.2
Standard Standalone? (y/n) If not then what?:
What are you trying to achieve?:
I want participants to use a slider to change the color (hsv) of the image.
What did you try to make it work?:
So I set ‘Ticks’ of the slider to (0, 360) and added a code component. In the Begin Routine tab, I put this:
testcol = (slider.response,1,1) thisExp.addData('testcolor', testcol)
and used it in this way:
What specifically went wrong when you tried that?:
I got this error:
AttributeError: ‘Slider’ object has no attribute ‘response’.
Any help would be appreciated!