OS: Windows 10
Psychopy version: 1.85.6
I am trying to create my own rating scale instead of using the actual rating scale provided by Psychopy.
I am just going to create an image for the rating scale and have polygons appear over the selected choice.
First I created 3 circle polygons for 3 different choices.
Then I added the key component to correspond to choices ‘1’,‘2’,‘3’.
I am doing this by inserting a code component and then in the ‘Each Routine’ I add
event.getKeys('1'): # if 1 key pushed, polygon.opacity = .5 polygon_2.opacity=0 polygon_3.opacity=0 if event.getKeys('2'): polygon_2.opacity=.5 polygon.opacity=0 polygon_3.opacity=0 if event.getKeys('3'): polygon.opacity=0 polygon_2.opacity=0 polygon_3.opacity=.5
This way if a 1 is pressed a circle appears over the choice corresponding to the ‘1’ key.
In the ‘End Routine’ section I added this:
However, in the excel file I only see a  in the “reaction_time” section and the key_resp is blank. Does anyone have any suggestions on how to fix this?