![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | orangecardboard110 |
I don’t really know the proper way to do this, and I’m not sure if I need to use a get_node
or something. This is the code at the beginning of my scene:
extends Node2D
onready var global = Global
This doesn’t work as it says
The identifier “Global” isn’t declared in the current scope.
But I have no idea of an alternative. Any help would be much appreciated, thanks!