I have built the experiment in the builder (Latest Psychopy version) and have the attached code component sitting in the Pause Routine.
In the code component i have used the code in begin routine (where it is now and that works in psychopy on the laptop).
when uploading the experiment with code component in Begin Routine into Pavlovia and then running, it runs like the component isn’t there and doesn’t insert the pause where required.
I have tried using the code component by putting the code in Each Frame also and uploaded that into Pavlovia but that did not work either as it just inserted the pause every frame.
My experiment structure (builder view) is attached also.
the Builder auto creates the JS however it is just not working.
Does anyone have any idea how i can get this to work correctly please?
Any advice or help would be greatly appreciated.