I have created a TileSet with editor UI, with 4 Atlas Tiles. I have a Script that inherits Node2D (but that's not enforced).
I want to draw a single tile from one of four Atlas Tiles. How would I do this, other than taking a texture tile_get_texture
, then getting tile boundaries tile_get_region
, autotile_get_size
, tile_get_texture_offset
, and then somehow (with Sprite or the TextureRect) cropping the texture with the boundaries?