Skip to content
Discussion options

You must be logged in to vote

Hi @DanielBruijn, I think you need to add the second true argument to jsPsych.timelineVariable, which tells jsPsych to return the value immediately, rather than returning a function that returns the value. For example, inside your drawStim function you should be able to access the current value of timeline variables like this:

eccent = jsPsych.timelineVariable('eccentricity', true);

This true argument shouldn't be necessary if you're using jsPsych 6.3.0+.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@DanielBruijn
Comment options

Answer selected by DanielBruijn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants