local x, y, f = GetObjectPosition(objectname); if ((x == ТРЕБУЕМЫЙ_X) and (y == ТРЕБУЕМЫЙ_Y) and (f == ТРЕБУЕМЫЙ_ЭТАЖ)) then ВАШ КОД end