It follows your cursor, and press d for the pen to go down. For colors, p is purple, I is pink, o is orange, b is blue, r is red, g is green, and l is black.