The saber follows your mouse. Click to change between colors. Just touch the saber to the appropriately colored block.
Credits: The one true God, for giving me the ability to code.