Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | rz |
So i have a script where i want to store another object in a variable, a kinematicbody2d.
i cant use $… or get_node(…), because the object is not a child of the camera2d (which has this script), or maybe there is a way for $… or get_node(…) to get nodes outside of camera2d?
like unity where we make a variable that stores another gameobject in it, in godot i want a variable that stores another node.