Hi @maisonallen, if you have Python code in a code component, you will have to translate the Python code to JavaScript manually. To translate the code, open your code component dialog and select the code type as “Both”, so you can see Python and JavaScript panels on the left and right, respectively. Now you can see the Python code in the left panel, and you can type in the equivalent JavaScript in the right panel. JS is not so different from Python, so translating the code will not be too challenging. E.g., some JS
// If statement
if (key_resp_6.corr === 1) {
score = score + 1;
}