[Solved] Check for diagonal neighbor on grid possible? Auto Tile now possible in GDevelop

Lets say i know something about it

This is my plan B i think i could use point inside object to check for diagonal adjacent tiles

+++++++
This is edited part
I remember i had problems with point inside object so i went with creating separate objects like 4 one pixel sprite objects and simply was creating them from each tile in all 4 directions
And each of that 1 pixel sprites was giving different value to colliding tile basically what you see on image above
Now i know i could go with 1 one pixel sprite and simply change it’s opacity to give different value to colliding tile depending on that
But this is what i am talking about below instead of point inside object
Explanation just to avoid confusion
+++++++

BUT that is no solution for extension so i could only make it as example
Or am i missing something?
Could i use 2 separate sprite objects for 1 extension?
So one would be for tiles and other that small object sprite which i would use to place inside other tiles?
Then i could simply change opacity of that small object depending on which side i am spawning it from origin tile
And so depending on the opacity it would add different amount of well value to variable of tile and this way i could find anything
I was able to do that with top down left right as you see from the link above but i am pretty sure i would be able to expand it to diagonal directions
But again i lack knowledge how to do it in extension
And about performance
For now i only care for it to work
A working AutoTile extension should exist for Gdevelop
And i can worry about solving performance problem later looking for other method of Auto Tille’ing

Option with determining grid size would also be not a problem if i could simply make it in extension so that user need to define what grid size he will be using
But again i have no idea how to do that in extension

So in short of it I perfectly understand what you are explaining to me yet i have no practical knowledge how to implement it into extension

Kinda like i know how keyboard works and when i press R i do not send R i send 82 which is then translated to R
But knowing that i still would not be able to program actual keyboard since i lack the knowledge