Simply click on the orange output dot at the bottom of a block and hold the mouse button clicked while moving it to the white input bot on top of the following block.