Hello - i’m trying to give participants some simple automated feedback as a text component in the routine following a test routine.
I created a simple counter for correct scores in the test routine:
if mouse.isPressedIn(polygon): score = score+1
I then add a new routine and am trying to display the final value of the counter as text using a text component:
the result is that it just prints “0” (i.e., the value I set for $score in begin routine).
Anyone know what i’m doing wrong?