diff --git a/docs/reference/jspsych-randomization.md b/docs/reference/jspsych-randomization.md index 75e02c0f..49ad0e5c 100644 --- a/docs/reference/jspsych-randomization.md +++ b/docs/reference/jspsych-randomization.md @@ -498,7 +498,7 @@ The seed value will be returned from the function call, allowing you to save it #### Use a random 32-bit seed and save to data ```javascript -const seed = jsPsych.setSeed(); +const seed = jsPsych.randomization.setSeed(); jsPsych.data.addProperties({ rng_seed: seed }); @@ -507,7 +507,7 @@ jsPsych.data.addProperties({ #### Use your own seed ```javascript -jsPsych.setSeed("jspsych"); +jsPsych.randomization.setSeed("jspsych"); ``` ---