I was curious about the proper way to reference Nodes in the Godot Engine. By reference, I mean doing things such as calling a Node's method or accessing a Node's variable.
I know that
get_node work the same, but I was wondering whether or not it is faster to save a reference to the node in a variable, such as using by using
Is it cleaner to just get the Node mid-script, or to keep it as a variable?