OS (e.g. Win10): Win10
PsychoPy version (e.g. 1.84.x): v2020.2.10
Standard Standalone? (y/n) If not then what?: yes
**What are you trying to achieve?:
this seems like a rather simple question but I couldn’t really figure out how to do that:
I am trying to change the color of a polygon for 1 second after a valid mouse click.
What did you try to make it work?:
if mouse.isPressedIn(polygon_3): while XY polygon_3.fillColor = 'yellow'
I have tried several code snippets for the placeholder XY. For instance using a timer, but then realized that a timer would add time to my time zero and create a time lag.