I’m trying to custom define a function which I then use in Python in an auto->JS code component. However, I’m getting the ‘reference error: can’t find variable x’ for the function name. I’ve seen here that I should define it in my JS code block. However, this isn’t working for me. Are there any ideas about how I could do this?