|Topic was automatically imported from the old Question2Answer platform.
Just to start this off, I have only just started using Godot.
I created a small program in Godot v3.5 to create a procedurally generated world (2d). I tried porting the code to Godot v4.0-alpha14 due to the better Tile Set editor and got the error above.
My node structure is Node2d → TileMap. My script is connected to Node2d and use this code to get the TileMap node:
@onready var FLOOR = $TileMap This worked fine. However I can not use any TileMap specific functions. As you can see, when I try and use
FLOOR.get_cellv(pos) I get that error.
Its just odd that this worked perfectly in godot 3, but not 4