Hold left click and move the mouse to draw. Press space on the desired colour to draw with it.
Thanks to Griffpatch for tutorial.