Programmatically changing a tile's origin within an atlas

Godot Version

Godot 4.2


Hello! First time poster, so do let me know if I’m doing anything wrong.
I have a system in place to generate new tiles in an atlas based on the size of the atlas’ texture. However, there are specifically four tiles whose origins need to be modified in order for the system to be fully functional. I couldn’t find any way to do this in the docs, is this just something I’ll have to find a way to work around?

You can change the TileData as mention in the TileSetAtlasSource documentation

Each tile alternate has a set of properties that is defined by the source’s TileSet layers. Those properties are stored in a TileData object that can be accessed and modified using get_tile_data.

See Here
Then Here