I try to access a function from my TileMap-Node through another Node2D-Node.
Both Nodes are under a scene/node called "game_window".
In the basic Node2D I wrote
onready var tilesetnode = getnode("/root/game_window/TileMap")
but it get the error message that the node isn't found. I got the path by displaying it with getpath(). The getnode() function only works for me when the node I try to access is a subnode, absolute paths don't seem to work.
Does anyone know why it doesnt work out?