This has been asked a lot, but none of the answers made sense to me. Basically, I have a variable in one script that is constantly being updated, and I need to export it to a different script to use it.
I believe I'm supposed to use get_node() to access the other script and then use dot notation like nodewiththescript.variableiwanttoexport somehow? I don't get it.
How do I use get_node, is it just standing alone or is a variable assigned to it or what?
How do I use dot notation and the node.variable thing?
Help is much appreciated.