I have a parent Node2D and it has 4 children inside, each one with a script attached.
In this script I did define a few functions and properties... but when I call any of this through the array just created, godot says:
res://scripts/tilemap.gd:22 - Invalid call. Nonexistent function 'set_height' in base 'Node2D (`TilemapFloor`)'.
As you can see, I use the as TilemapFloor cast... after having specified the class_name TilemapFloor on top of the custom script (error appears with and without this cast)