Cumulative window (adding second part of a text)

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. 2024.2.4 Py 3.8): 2024.2.1

What are you trying to achieve?:
I am using Psychopy (Builder).

I am designing a cumulative window experiment. After the instructions, I have inserted an Excel file in a loop. This Excel file contains three columns. Column 1 displays the first half of a sentence, Column 2 displays the second half, and Column 3 shows the question.

The loop consists of three routines: the first displays the initial half of the sentence, the second displays the latter half, and the third presents the question. Unfortunately, when the second column is added to the first half, the text shifts position. As a result, it does not remain in the same location as when the first half was initially read, causing the reader to spend additional time locating where they left off.

What did you try to make it work?:
I have tried to add a code in ‘begin experiment’ in the builder, but it did not work. The text is long so it should ideally start at the top left probably, so it does not change the format. I did not manage to do that.

Hello @Benjamin_Carcamo

What have you tried so far?

Usually, PsychoPy displays text in the centre of the screen (0, 0). I would set the position of the first half of the sentence to the left. Then, in the next routine, I would present both the initial half of the sentence and the second half as a combined string of text in the text component.

$sentInitial + $sentSecond

The position of the combined string of text would correspond to that of the initial part of the sentence.

Best wishes Jens