Each block has checker with this same shape. When i drag and put button on keyboard this dragged object going to rotate 45 degrees. (work fine)
Now i want to do when this dragged block are too close to another block (checker overlapping another block) should not be able to rotate.
I try sometjing like that and this dont work: