Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.
There probably is a deep scripting method, but I don't think there is a way. Other than this you could edit the autotile to move from the first autotile to the second in four separate ways, meaning it will make it a bit quicker. Maybe?