Create a family for these objects, then make a new event. Select the family and choose "on collision with another object" For the object, choose the family. Add an action that stops movement when it collides with the other tiles. You might have to add the custom movement behavior to achieve that last part.