The invention presents a microfluidic device that provides investigation of distance dependent interactions between cells and various factors. A method that uses the device to determine distance dependent interactions between cells and various factors and agents that can change these interactions is also presented.