Few suggestions:
- Is code component placed above the text component? Maybe position is not set at first draw of stim.
- Use a print statement and
print(txt_position, txt_position[0])
to confirm it is what we think it is. - Try splitting it up in two variables and make the tuple in pos field.
posX, posY = 0, 0.2
position$: (posX, posY)
Your keyboard error seems to have been fixed in v.2021.1.4. See discussion here. Try installing the newest version.