psychopy.org | Reference | Downloads | Github

How can I do conditional coding?

I want to program as follows, but I don’t know how to code.

[After the screen is presented, feedback images and feedback sounds are presented only when the reaction time is slower than 0.17 seconds, and when the reaction time is less than 0.17 seconds, the next screen is presented]

When I code and upload it to pavlovia as follows, the feedback image is presented only under the conditions I want (when the reaction time is slower than 0.17), But the sound continues to be presented regardless of the reaction time.

What should I do?


Is this a piece of coursework?