Getting error when getting tile size

Godot Version

Godot Engine v4.2.2

Question

I’m trying to get the size of the tiles in a tileset with code but I just get an error, this is so simple i can’t possibly imagine whats wrong with it
Here is a screenshot of everything:

There isn’t such a property, are you looking for Map.tile_set.tile_size?

2 Likes

Ah thanks I didn’t realise I had to write .tile_set first

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.