Click to place a brick and press the x key to stop and reset. You can also press space to change the color.