Self-paced reading: how to make fixation stop automatically

“From the experiment you posted it seems like an iteration of a loop should start with a 2s fixation cross (which can be its own routine), and then moves to a routine to show the question text (which lasts until the user inputs an answer using the keyboard)”

That is right. I already tried to make a separate routine for the fixation, but then I still have the problem that the space bar needs to be pressed to make the first word of the sentence appear on the screen.

The main reason that added the code component is that is makes a data file in which the reading time for each word is added. I did not write this code myself, but found it in another discussion: