how are you, night. Okey I have this.
File (Grid.gd)
class Grid:
var gridArray : Array
func SystemGrid(width : int, height : int):
self.width = width
self.height = height
print(width+" , "+height)
I want to call the print function from another script
File (Snap.gd)
extends Node2D
func _ready():
var grid = Grid.new(2, 1)
I want to keep the readability as in C#. Give it error. Is there any way to call the class other than Preload or Load?, like in C#. Regards and thxs