Key presses registered before stimulus display

If this template helps then use it. If not then just delete and start from scratch.

OS (e.g. Win10): Win10
PsychoPy version (e.g. 1.84.x): v.2023.2.1
Standard Standalone? (y/n) If not then what?: Y
What are you trying to achieve?: Get Keyboard component to only register keyboard presses after a stimulus has been shown.

What did you try to make it work?:
delayed onset of keyboard component,till after display of stim. Also tried making onset conditional on stim_prac.status == STARTED. Tried putting fixation cross in another routine inside the same loop.

What specifically went wrong when you tried that?:
Include pasted full error message if possible. “That didn’t work” is not enough information.

Feedback on correctness is given for keys pressed during the fixation cross, rather than waiting for stimulus to be displayed. is there a way to force the keyboard listener in builder view to wait until after stimulus display to wait to listen to keys?

Have you ticked “Discard previous” in the data tab of your keyboard component?

I often put the fixation cross in a previous routine. How do you know feedback is given on keys pressed during the fixation cross?