psychopy.org | Reference | Downloads | Github

My "Continue" button is invisible :(

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): 3.2.3
Standard Standalone? (y/n) If not then what?: y

Hello everyone,
I am designing a task with continue buttons (code component). This is the same code I always use, that is:

continueButton = visual.ButtonStim(win, labelText= "Weiter", pos=(.65, -.45))

continueButton.draw()
continueButton.buttonEnabled = True
if continueButton.buttonSelected:
    continueRoutine = False

The button works, but is invisible.
Any ideas about what is happening and what to do?

Thank you!

Hi @Oceane , would you mind sharing a working example of the error?

Hey @dvbridges, I guess it was a bug.

What happened is that there was like a wide frame, same color as win, that hid every component that could be behind, without disabling them.
So I moved my continue button first so that it was out of this frame.

Afterwards, the frame issue disappeared by itself. Strange.

Great, yes we use an aperture so that you only see the text appear in that box. Glad it is working.