v4.3.stable.official [77dcf97d8]
I can’t seem to find any version of get_last_unused_tile_id() for Godot 4. I might have just missed something, but if anyone could help me please do!
get_last_unused_tile_id()
Probably what you want is get_next_source_id().
get_next_source_id()