Hello there! I've been trying to do a "globals.xxxx = function" and call it somewhere else, but it's always not working
I just want to create a function and call it from any script
It should work fine if declared in the root widget's onPreload
script.
yes it is working now, turns out it's my other code preventing it from working