Pass the pixels between the barriers using the mouse