psychopy.org | Reference | Downloads | Github

Reaction time greater than msg

Win10
PsychoPy version 1.85.2

I’m trying to make a message that says “too slow” if the response time is greater than 800ms. I’ve put the $msg in the text component and in the code component i’ve put:
if resp.rt>0.8:
…msg = “too slow”

but it’s saying too slow on all my responses. I’ve tried making it 2 and it still says my response time is too slow. I’ve also tried putting it in brackets and also tried resp.rt*1000>0.8 but it still says it for all responses?

Please help!
Thanks