How do I access the value of frameRate in a pavlovia experiment?

URL of experiment:

Description of the problem:
In the results file from online psychopy studies there is a variable ‘frameRate’ - I’d like to access that variable during the experiment (so I can try to make the experiment appear the same on screens with different frame rates). I can’t seem to access it though. Here’s what I’ve tried:

framerate = psychoJS.experiment.expInfo[“frameRate”]; (which leads to TypeError: psychoJS.experiment.expInfo is undefined)

framerate = psychoJS.experiment.expData[“frameRate”]; (which leads to TypeError: psychoJS.experiment.expData is undefined)

What is the right way to access the frameRate variable please?

1 Like