I am building a Visual Search task and want participants to get reward (receive a specific number of points) and visually see feedback on every trial only if:
a) they reply with a correct response. This is something i have already done using the following code:
msg = “Correct!”
msgColor = “green”
msg = “Oops! That was wrong.”
msgColor = “red”
b) but also reply within 0.8 seconds of the stimuli presentation. So how can I add this element in the above code?
BOTH of these conditions need to be met so that participants will receive the reward and be provided with the “Correct!” screen.