I’ve only used project & shared scripts by referring directly to a function inside them. I know you can declare variables outside of the functions, but when does that declaration run?
To clarify, lets say I have a function in a script that I’d access by shared.TestLibrary.doFunc(). If I had lines in the script called “TestLibrary”, when would they actually run? I think I’ve seen it used before but can’t find it.