How to retrieve subtiles from tile created as Atlas

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Goral

I want to use sprite sheet in my game. I don’t know how to do it other than using TileSet and Atlas.
So I have created TileSet resource, added my sprite sheet texture to it and created atlas.
It looks like this creates one tile and subtiles.
Now in my script I want to create Sprites for these subtiles.
But I cannot see any way to retrieve subtile region from TileSet for that tile.
It looks like its not implemented or maybe I am missing something