Click and hold to draw. Press space to pick colour of where your cursor is.
You can't draw while the colour is picking.