Autotile (Bitmask) with multiple terrains

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

I would like to make the autotile (bitmask) feature work with multiple terrains. This question was already asked here, but I wonder if there is any easy solution with the release of godot 4?

I hope the following images show my problem:


My tileset terrain settings: