Is there a way to access atlas coordinates by code?

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

Basically, I want to access atlas coordinates by code, as a List of " ids ", the old


But in Godot 4.0, it is possible?

:bust_in_silhouette: Reply From: Karl Marx

I think this should do it tilemap.get_cell_atlas_coords(layer:int, coords:Vector2i)
link to docs

1 Like