add event to detect and prevent the placement of robots