Click to add blue objects. Drag red and blue objects around. The red object will always connect to the closest blue object.
Thanks to pythagoras and tower defense genre