Thanks, Nicolas for helping me understand your idea.
But it's not what I am looking todo, Basically, I have a sprite (Conveyor) with different Frames A corner frame, a line frame, and an intersection frame. And I can only place this sprite in a grid system.
Once I start placing the Sprite (Conveyor) in my layout the Conveyor should determine on which frame it should be on depending on what is next to it, Like on the image with the red circles, if it there is 2 conveyors in close proximity to it, it should display the corner frame, if I delete one of the conveyors it should go back to a line conveyor.
I hope this makes sense?