|Topic was automatically imported from the old Question2Answer platform.
How can I get the tile name when colliding with it?
This is the name of my tile:
This is the code which is inside a KinematicBody2D:
var type = body.tile_get_name()
But when I try to run the game I get the following error: