Hi I am stuck in conditional branching and desperately asking for help
what I want to achieve is:
- present two symbols on the screen (for example, a big star on the left and small star on the right)
- let the subjects press keys to select (for example, press 'left" to choose left symbol)
- highlight his selection (for example, a red border)
- pass to the next stimuli based on his choice (for example, a 7s-delay if choose left, and 4s-delay if choose right)
what I failed to achieve is step 4.
for the displaying the border and ending the current display, I put a code component before the keyboard and set ‘begin the routine’ like this below:
and for ‘each frame’ like this below:
my logic is: firstly display the border when a certain key was pressed, and let it display for 2s (using countdowntimer), and finish all, move to next display.
BUT it does not work: I pressed the key, the border shows up correspondingly, but will NOT disappear when the countdown ends, and the screen just stuck here, like forever…
Do I need to improve my code component in the builder or it can only be solved with coder?
It is my first time to post a topic, not sure whether I describe my problem clearly enough. Thanks sooo much for any possible solutions!