Godot Version
4.3
Question
I’m trying to create a modular script where I can drag and drop nodes into an array through the inspector and hide it through code when it’s not visible on screen. I’m having trouble since the array is returning empty even though I populated it through the inspector. Is there a way I can make this work?
This is how I declared the array
@export var arrToHide :Array[Node2D] = []