Coloured pixels are stacked above you. Your machines only hit the bottom of each column.
Tap one and it fires by itself. A wrong colour blocks that column, so the only real decision is which machine you place, and when.
Shoot the colour that matches. Choose the right machine, in the right order.